Advertisement
Guest User

Untitled

a guest
Sep 17th, 2011
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function initMarkers(world, type) {
  2. if (markersInit == world) { return; }
  3. markersInit = world;
  4. $.getJSON("../markers.json",
  5. function(data){
  6. for (i in data) {
  7. if ((data[i].world == world) && (data[i].type == type)){
  8. createMarker(data[i]);
  9. }
  10. }
  11. });
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement