I want to set cursor. Google documentaion quote:
setCursor(cursor:string)
And that's all. What string should I enter? Can't find list of available cursors.
It looks like you're looking at a method for the google.maps.Marker class. I think instead that you want to change an option on the map itself. Here's an example:
map.setOptions({draggableCursor:'crosshair'});
You can set it to null
to return it to the default. I'll make a guess and say that the value can be any CSS cursor property. You may even be able to specify a url.
I suspect that the available values for cursors are the standard CSS cursors, which can be find here on the w3c website:
http://www.w3.org/TR/CSS21/ui.html#propdef-cursor
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With