diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2018-09-05 15:36:52 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2018-09-05 15:36:52 +1200 |
commit | 411376bc7774b79076cf179c559865fb56801e79 (patch) | |
tree | 652a32bc9f0dcd97fb675bf7e7754a908db329fd | |
parent | c1de0809d37eceb5194f5a9f8a76ebdea7504be8 (diff) | |
download | trackermap-web-411376bc7774b79076cf179c559865fb56801e79.tar.gz trackermap-web-411376bc7774b79076cf179c559865fb56801e79.tar.bz2 trackermap-web-411376bc7774b79076cf179c559865fb56801e79.zip |
Change map server
-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 27c58bca..3388d670 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. |