I noticed that I am able to get all the markers using EGeoXml via
gmarkers.
Is there something similar for the GeoXml extension?
______________________________________________________________________
I would like to build something like this example below I saw for the
econym extension
______________________________________________________________________
// Store the names
function mySideBar(ref, name, type, i, html) {
nameArray[name] = i;
return "";
}
// use the name to click the marker
function clickByName(name) {
GEvent.trigger(exml.gmarkers[nameArray[name]], "click")
}
var exml = new EGeoXml("exml", map, "whatever.xml",
{sidebarid:"the_side_bar",sidebarfn:mySideBar});
exml.parse();
<a href="javascript:clickByName('My House')">Marker 1</a>
-----------------------------------------------------------------------------------------------------------------
I feel sometimes that EGeoXml is like a claymore sword; powerful and
its well documented what you can do with it... where the GeoXml is
like katana sword; finesse and sharp edge with a intriguing mystery
behind.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---