On Mar 21, 9:07 am, beachjim <[email protected]> wrote: > I am really stumped on how to get a link in a KML (Google Map) file to > trigger a modal window. I have a test page setup at: > > http://www.elgolfonow.com/indexmap.html > > I did see how to change the target of the link in the balloon which is > in the "description". I have added that code to the Google javascript.
Where have you added that code? I don't see it. > The same code I use on the button on the page to trigger a modal is > the same code I used in the KML file in the "description" tag. I don't see any code in the KML file. But any javascript there will be stripped out by GGeoXml. You may need to investigate the third party parsers: http://econym.org.uk/gmap/egeoxml.htm or http://www.dyasdesigns.com/geoxml/ BTW - this line gives an error: var marker=new GMarker(marker); because marker is undefined (and it is not a GLatLng, which GMarker requires as its first argument).. -- Larry > > Still stumped and any ideas or assistance would be greatly > appreciated. > > Best, > > Jim -- 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.
