Advertisement
Guest User

Untitled

a guest
Jun 26th, 2019
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. var grayscale = L.tileLayer(mapboxUrl, {id: 'MapID', attribution: mapboxAttribution}),
  2. streets = L.tileLayer(mapboxUrl, {id: 'MapID', attribution: mapboxAttribution});
  3.  
  4. map.removeLayer(grayscale);
  5. map.addLayer(streets);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement