Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var grayscale = L.tileLayer(mapboxUrl, {id: 'MapID', attribution: mapboxAttribution}),
- streets = L.tileLayer(mapboxUrl, {id: 'MapID', attribution: mapboxAttribution});
- map.removeLayer(grayscale);
- map.addLayer(streets);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement