Skip to content

Instantly share code, notes, and snippets.

@tmcw
Created April 18, 2013 20:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tmcw/5415987 to your computer and use it in GitHub Desktop.
Save tmcw/5415987 to your computer and use it in GitHub Desktop.
places = []
for place in places:
ajax that place:
places.push(ajaxresponse)
addlayerof(places)
first time through,
places=[1]
second time
places=[1,2]
so the map has layers like
layer([1]), layer([1, 2])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment