Couldn't you just apply a click listener to the layer in order to make
it show the hand cursor?
google.maps.event.addListener(yourLayerObject, 'click', function
(kmlMouseEvent) {
...whatever...
});
Now whenever you mouseover the area contained in the KML layer, the
cursor should turn into a hand.
On Mar 11, 9:00 am, "jacek.francuz" <[email protected]> wrote:
> Hello,
>
> is it possible to show hand cursor on mouseover KMLLayer in Google
> Maps 3?
>
> I see the two solutions (but it seems that they cannot be used):
>
> 1. handle mouseover event for KMLLayer and change cursor in CSS
> 2. handle mouseover event for Map and check if cursor's location is
> contained by KMLLayer
>
> The problem is that mouseover event does not exist for KMLLayer :(
>
> Do you have any ideas?
>
> 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.