On 23 January 2012 12:53, NoRyb <[email protected]> wrote: > Hello > > Is it possible to find out, if a polygon is currently in the visible area? > So I can get more details from a webservice about an object if it is > visible...
An easy approximation is to check whether the polygon's bounds intersects with the map bounds. http://code.google.com/apis/maps/documentation/javascript/reference.html#LatLngBounds (scroll down to intersects) That won't be perfect, but it should provide more data than is necessary rather than leaving something out which should be retrieved. -- 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.
