C
C
cester2017-10-30 14:46:34
JavaScript
cester, 2017-10-30 14:46:34

How to generate TileLayer for Leaflet?

Good afternoon! Please tell me how to change TileLayer in react leaflet?

<TileLayer url="https://cartodb-basemaps-{s}.global.ssl.fastly.net/light_all/{z}/{x}/{y}.png"
attribution='&copy; <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a>, &copy; <a href="https://carto.com/attribution">CARTO</a>'
        />

Where can I get this url?
How to download, for example, google maps?
Everything should be already implemented, I will be grateful for a few examples!
Thank you!

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question