Try this http://www.wolfpil.de/v3/layer-kml-features.html
it's a slight change of this example http://code.google.com/apis/maps/documentation/javascript/examples/layer-kml-features.html to display the content of the kml in a formated infowindow. On Aug 5, 4:07 pm, bed777 <[email protected]> wrote: > Hi, with event listener I can access on single markers to show a my > custon infowindow? > Thanks in advance. > Regards. > > On 26 Lug, 17:18, "[email protected]" <[email protected]> wrote: > > > n Jul 26, 3:28 am, bed777 <[email protected]> wrote: > > > > Hi guys. > > > I'm using kml files for manage multiple markers. > > > > I have two question: > > > > First: Can i use the pan with kml file? I want to pan to new marker > > > when there is a new one. > > > Sure. But KmlLayer doesn't give you access to the markers or the > > marker locations, so you will have to get that information to your > > applications separately. > > > > (Now i'm using : > > > kmlLayer = new google.maps.KmlLayer("http://metwit.net/last.kml?"+ new > > > Date().getTime(),{ preserveViewport: true }); for updating the kml > > > every 40 seconds ) > > > > Second: How i can use a custom infoWindow in a kml file? > > > use the suppressInfoWindows option in the KmlLayer constructor, add a > > click listener to the KmlLayer and use it to open your infowindow. > > >http://code.google.com/apis/maps/documentation/javascript/reference.h... > > > If your kml is not too complex you might look at geoxml3. > > > -- Larry > > > > Thanks in advance and best regards. -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" 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-js-api-v3?hl=en.
