aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2018-09-05 15:36:52 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2018-09-05 15:36:52 +1200
commit411376bc7774b79076cf179c559865fb56801e79 (patch)
tree652a32bc9f0dcd97fb675bf7e7754a908db329fd
parentc1de0809d37eceb5194f5a9f8a76ebdea7504be8 (diff)
downloadtrackermap-web-411376bc7774b79076cf179c559865fb56801e79.tar.gz
trackermap-web-411376bc7774b79076cf179c559865fb56801e79.tar.bz2
trackermap-web-411376bc7774b79076cf179c559865fb56801e79.zip
Change map server
-rw-r--r--modern/src/MainMap.js5
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="&amp;copy <a href=&quot;http://osm.org/copyright&quot;>OpenStreetMap</a> contributors"
- url="https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"
- />
+ attribution='&copy; <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors, &copy; <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.