On Mar 21, 3:33 pm, "jacek.francuz" <[email protected]> wrote:
> Hi,
>
> thanks for the prompt reply. Actually I wanted to use 'click' event
> because KMLLayer has no 'mouseover' event defined for it. My idea was
> to trigger programmatically 'click' event when mouse is  over the map
> and check what KMLFeature the cursor is on.
>
> I think it is impossible though :S

With KmlLayer that is correct.

How complex is your KML?  Have you looked at geoxml3?

http://www.geocodezip.com/geoxml3_test/v3_geoxml3_kmltest_linkto.html?filename=TrashDays40.xml

  -- Larry


>
> On Mar 21, 11:24 pm, "[email protected]" <[email protected]>
> wrote:
>
> > On Mar 21, 3:14 pm, "jacek.francuz" <[email protected]> wrote:
>
> > > Hello,
>
> > > is it possible to programmatically trigger click event for KMLFeature?
>
> > No (at least not at present).
>
> > > I need KMLMouseEvent to be passed to KMLLayer handler. If not, then
> > > maybe it is possible to populate such a object or get reference to
> > > KMLFeature objects?
>
> > Have you looked at FusionTables?  You can fake the same action by
> > querying the FusionTable and opening the same infowindow that would be
> > opened on a click.  You can even import KML.
>
> >  -- Larry
>
> > > Thanks
>
>

-- 
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.

Reply via email to