Change cursor in google maps v3 at runtime

The parameter draggableCursorcan be set in the google.maps.Map object when created. Is there any way to set this parameter at runtime? Or is there any other clean way to change the cursor at runtime? I looked through the documentation but nothing seems like a method setDraggableCursor...

+3
source share
1 answer

This option can be set at runtime. You must set the map parameters using the function map.setOptions(). Set only the required property in the options object:

map.setOptions({draggableCursor: myNewDraggableCursor});
+8
source

All Articles