diff options
Diffstat (limited to 'modern/src/MainMap.js')
-rw-r--r-- | modern/src/MainMap.js | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/modern/src/MainMap.js b/modern/src/MainMap.js index 27c58bc..3388d67 100644 --- a/modern/src/MainMap.js +++ b/modern/src/MainMap.js @@ -13,9 +13,8 @@ class MainMap extends Component { return ( <Map style={{height: this.props.height, width: this.props.width}} center={position} zoom={this.state.zoom}> <TileLayer - attribution="&copy <a href="http://osm.org/copyright">OpenStreetMap</a> contributors" - url="https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png" - /> + attribution='© <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors, © <a href="https://carto.com/attributions">CARTO</a>' + url="https://cartodb-basemaps-a.global.ssl.fastly.net/light_all/{z}/{x}/{y}.png" /> <Marker position={position}> <Popup> A pretty CSS3 popup. <br /> Easily customizable. |