On Dec 9, 8:36 pm, Duong Nguyen <[email protected]> wrote: > Hi, > I want to apply the animation to and modify the icon's size of the > markers of my kml file, just like these > samples:http://code.google.com/intl/en/apis/maps/documentation/javascript/exa...http://code.google.com/intl/en/apis/maps/documentation/javascript/exa... > > I simply load the kml like below to display the map > var resLayer = new google.maps.KmlLayer(kmlUrl + '?dummy=' + (new > Date()).getTime(), { > suppressInfoWindows: true} > > ); > > I could modify the infowindow by suppressing the default windows and > create new ones. However, I have searched thru the forum but found no > way of manipulating the default markers from the kml file. > How do I get access to the kml's markers in order to use the animation?
You can't get access to the kml's markers. Google processes the kml into a layer that doesn't have "markers" on it. > Or do I have to disable the kml's markers and create new ones? Why would you use kml then? -- Larry > Thank you, > Duong -- 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.
