Skip to content

Commit

Permalink
Merge pull request #315 from data-mermaid/nick/M594-replace-mini-map-…
Browse files Browse the repository at this point in the history
…tile

[M594] Replace outdated map tiles for mini map
  • Loading branch information
saanobhaai authored Nov 14, 2023
2 parents bc95404 + bdc6807 commit b319227
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/LeafletMap.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,14 +82,14 @@ const generateClusterIconStyle = ({
}

const miniMapLayer = L.tileLayer(
'https://stamen-tiles-{s}.a.ssl.fastly.net/toner-background/{z}/{x}/{y}{r}.{ext}',
'https://tiles.stadiamaps.com/tiles/stamen_toner/{z}/{x}/{y}{r}.{extension}',
{
attribution:
'Map tiles by <a href="http://stamen.com">Stamen Design</a>, <a href="http://creativecommons.org/licenses/by/3.0">CC BY 3.0</a> &mdash; Map data &copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors',
'Map tiles by <a href="http://stamen.com">Stamen Design</a>, <a href="https://creativecommons.org/licenses/by/4.0/">CC BY 4.0</a> &mdash; Data by &copy; <a href="https://www.openstreetmap.org/">OpenStreetMap</a>, under <a href="https://www.openstreetmap.org/copyright">ODbL</a>',
subdomains: 'abcd',
minZoom: 0,
maxZoom: 13,
ext: 'png',
extension: 'png',
},
)

Expand Down

0 comments on commit b319227

Please sign in to comment.