Passer de Google Maps à Jawg

Passer de Google Maps à Jawg


Démo website with Google Maps Now we will switch to a Jawg map Here is the code snippet that displays the Google map We need to import Leaflet in our project Download Leaflet on leafletjs.com Or copy the integration code to use a CDN And paste it in your HTML page Now we’ll integrate our Jawg code
to display a map It looks like this, find your personal code
snippet on your Jawg account Paste it and make sure that your personal
API key is correct Now you can delete the Google code And have a look at the result Tada! In about 45 seconds! But wait… We will change the map style Just by modifying the link to the tile server Refresh the page and enjoy the magic!

Leave a Reply

Your email address will not be published. Required fields are marked *