KmlLayer - mouseover off

75 views
Skip to first unread message

uhl

unread,
Apr 3, 2013, 8:12:48 PM4/3/13
to kml-support-g...@googlegroups.com
Hi everyone,

Here's a simple one - I have a map with a few kml layers (up to ten) but I'm using customised markers with infoboxes in js, so I switched te kml ones off. Yet the mouseover remains, which is confusing. How can I get rid of it?

Thanks for any help.

barryhunter (KML Guru)

unread,
Apr 4, 2013, 9:50:07 AM4/4/13
to KML Developer Support - Getting Started with KML
What mouseover?

I dont see any mouseover behaviour, in the demos here:
https://developers.google.com/maps/documentation/javascript/layers#KMLLayers


Ie its not a default behaviour. It must be something you have
enabled.

uhl

unread,
Apr 4, 2013, 10:04:00 AM4/4/13
to kml-support-g...@googlegroups.com
Hi Guru,

In fact there is a mouseover effect in this example:


That's what I'm doing, but as I said, I'm using "suppressInfoWindows: true", to be able to fully customise the infobox. Yet, like on the example above, mouse pointer changes on hover making it seem like it's still a clickable item.


uhl

unread,
Apr 4, 2013, 10:16:44 AM4/4/13
to kml-support-g...@googlegroups.com

Damn, I ment the mouse cursor! Sorry for the confusion. With  help from Barry, I realised that all that was needed was clickable:false in the layers options (even though I tried it before and it seemed it's not working, now it's sweet and dandy!).

Thank You Guru ;)
Reply all
Reply to author
Forward
0 new messages