Re: EgeoXml Load a Placemark when page load
ah... yeah misunderstood question...
but waiting for the markers to be parsed is still going to
be needed.
On Dec 30, 1:11 am, Mike Williams <nos...@econym.demon.co.uk> wrote:
> I guess that you mean that you want to find the marker which is located
> at GLatLng(-32.317322,-58.086090), if there is one. EGeoXml doesn't
> index the markers by location, so you'll just have to search for it.
>
> var point = GLatLng(-32.317322,-58.086090);
> for (var i=0; i<exml.gmarkers.length; i++) {
> if (exml.gmarkers[i].getLatLng().equals(point)) {
> GEvent.trigger(exml.gmarkers[i],"click");
> }
> }
>
> --
> Mike Williamshttp://econym.org.uk/gmap
--
You received this message because you are subscribed to the Google Groups "Google Maps API" group.
To post to this group, send email to google-maps-api@googlegroups.com.
To unsubscribe from this group, send email to google-maps-api+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home