The draggableCursor
option can be set in google.maps.Map object upon creation. Is there any way how one could set this option in runtime? Or is there any other clean way how to change the cursor in runtime? I've searched through the documentation but there's nothing like setDraggableCursor
method...
The option can be set at runtime. You have to set the map options with map.setOptions()
function. Set only the desired property in the options object:
map.setOptions({draggableCursor: myNewDraggableCursor});
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