Advertisement
Guest User

Untitled

a guest
Jul 30th, 2015
246
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.     $("#floor").on("change", function() {
  2.         for(i=0; i < 16; ++i) {
  3.             map.removeLayer(floors[i]);
  4.         }
  5.         map.addLayer(floors[$(this).val()]);
  6.     });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement