Thank you for replying. I use GeoXml and all is fine so far. Got almost everything complete. my map location is here:
http://www.myislamap.com/maptt.htm I wanted the Title of the sidebar elements to create a search feature. Not sure if I need the innerHTML to get the onclick event fired for opening the infoWindow or not. I have sucessfully searched the sidebar and have the corresponding matching Titles I need. What I need is to place these search results into a new DIV with the correct onclick to open the infoWindows that they correspond to. You guys have been great, and I really appreciate this forum for help. Thanks in advance. On Nov 30, 7:53 am, Garthan <[email protected]> wrote: > On Nov 29, 12:32 pm, tanos_8888888888 <[email protected]> > wrote: > > > 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. > > the innerHTML of the sidebar elements are normally not interesting. I > suspect what you want > is the description element from the kml which is used when you > construct > mouseover events and click events. > > One trick might be to turn on mouseovers > define some container you want the message to be put in then fire a > mouseover > event on the "marker". the mouseover populates a div with appropriate > description. > > in your geoxml constructor include > domouseover:true; messagebox:document.getElementById('messagearea') > > marker = geoxml.overlayman.markers[n]; // get marker n > GEvent.trigger(marker,'mouseover'); // trigger mouse over event > telling it to populate the messagearea div above. > > > > > My other question is, what event is called when folders are opened and > > closed, and checkboxes are checked and unchecked in the sidebar? > > No handy event is fired aside from the html elements click event the > sidebar > is created with the sidebar function and uses innerHTML to create it. > Which > by the way is much faster than using the dom to create elements in > most > every browser. > > > would like to write a cookie that remembers selections so the next > > time the map is opened it can properly open and close those folders, > > and check and uncheck what is visible on the map. > > > Thanks > > That is certainly an interesting idea but might not be a novice > project > It could be a nice enhancement for GeoXml. -- 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.
