On Oct 14, 2:39 pm, geocode...@gmail.com geocode...@gmail.com
wrote:
On Oct 13, 4:46 am, Chintan Shah chintan.s...@kraffsoft.com wrote:
Can we add EventListner to the Marker, which are plotted by the kml ?
If you are using KmlLayer you and you are listening for clicks you can
use a click event listener on the KmlLayer, which will give you a
KmlMouseEvent:
http://code.google.com/apis/maps/documentation/javascript/reference.h...
or if you want to listen of events other than clicks (and your kml is
simple enough), you can use a third party kml parser (geoxml3 is the
only one I know of for the v3 API) to render the markers as native
Google Maps API v3 markers, then you can add your event listeners to
those.
I have an almost done conversion upgrading my V2 API parser (the one
that
handles KML/GML/GeoRSS and relative urls for icon sources and urls
within the kml and also builds a nice sidebar for you.
Almost complete so you will be able to mention 2 client side parsers
for v3 GeoXml
I am not sure what to call the new version though as the previous
version was just GeoXml (confusingly named)
Lance Dyas
http://www.dyasdesigns.com/geoxml
--
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/google-maps-js-api-v3?hl=en.