hi Sir

i know how to use map.getBunds(), but i dont know how to get objects of the
bounds. can i have sample code ?


2012/1/13 Rossko <[email protected]>

> > thanks, now i can understand little, but i dont know how to comparison
> fast
> > in object array, due to my object than 30,000 object in map.
>
> Don't know what your objects are , but here is an approach that may
> help.speed it up.
> Keep the bounds of all your objects.
> First test all the bounds to see if they contain your point - if they
> do, they are a possible candidate.
> Now check the candidates using slower full point-in-polygon analysis
> to find which of the candidates really contain the point.
>
> This is never going to be fast for 30,000 objects.  I cannot see any
> purpose for a map with 30,000 objects on it, there is no way to see
> them or make sense of them.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Maps JavaScript API v3" 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-js-api-v3?hl=en.
>
>


-- 
BR
Chilly

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" 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-js-api-v3?hl=en.

Reply via email to