Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

README fix

  • Loading branch information...
commit 49657fd2c9754ffe6e0ae0724eb5251451793a24 1 parent 504b722
@jawj authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  README.textile
View
2  README.textile
@@ -146,7 +146,7 @@ bc. markersThatWillAndWontSpiderfy()
Returns an array of two arrays. The first array contains all markers that will be spiderfied when clicked — i.e. that are within @nearbyDistance@ pixels of any other marker. The second array contains all those that won't be.
-If you're using CoffeeScript, this plays nicely with destructuring assignment: you can just write @[will, wont] = oms.markersThatWillAndWontSpiderfy()@.
+If you're using CoffeeScript, this plays nicely with "destructuring assignment":http://jashkenas.github.com/coffee-script/#destructuring: you can just write @[will, wont] = oms.markersThatWillAndWontSpiderfy()@.
Don't cache these arrays — or if you do, be sure to invalidate the cache when the zoom level changes and when any marker is added, moved, hidden or removed.

2 comments on commit 49657fd

@sylon104

Hi, for the life of me i'm trying to clear markers of the oms object from an outside function. I declared the oms variable as a global one. and try to call oms.clearMarkers() within another function to clear those markers but it does not work. Please advise.

@jawj
Owner

I've answered this here: #18

Please sign in to comment.
Something went wrong with that request. Please try again.