On Thu, Oct 16, 2008 at 05:12:02AM -0700, Llu?s wrote:
> 
> I'm loading them by a JSON file. So I doesn't have a server side
> script to generate just a piece of markers.
> 
> Ok, I understand, If the JSON file it's sorted by a distance to a
> point, maybe I can process faster my markers. (stopping when a cell is
> outside the bounds).
> So I have to sort the markers in the JSON file first, and each moveend
> event start by an index and stop in another.

I would try just looping through as Marcelo suggested first.  It shouldn't be
too slow.  If you are really keen on the sorting idea you should probably
search on "range sorting" and "computational geometry"

    http://en.wikipedia.org/wiki/Computational_geometry

Should have enough references to get you started.

Karl

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to