tanos_8888888888 wrote: > I am a novice javascript programmer but cannot find anywhere the > object model for what I need. > > I have a map here: http://www.myislamap.com/map.htm > > The sidebar is produced nicely and I can get everything where I need > by laying things out in the KML properly. great thats the best kind of control because its cross platform if you decide to use the KML for another context for instance. > I need to add a search > feature that just looks up titles or names in the sidebar. I > understand this is the geoxml.overlayman.markers array, but I cannot > find or guess what the syntax is for retrieving both the name and > innerHTML for displaying search results for. Any example or help here > is appreciated. Each marker in the array has a title accessed for the zeroth element of the array might look like thus.
myname = geoxml.overlayman.markers[0].title; Uncompressed source code is available for perusal. http://geoxml.googlecode.com/svn/trunk/geoxmlfull.js Lance Dyas No virus found in this outgoing message. Checked by AVG - www.avg.com Version: 8.5.426 / Virus Database: 270.14.87/2534 - Release Date: 11/29/09 07:49:00 -- 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.
