You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not sure I understand this issue. It seems like you're explicitly forcing the cursor to be something else, but then you expect that the cursor still changes? Could you just remove the line that sets the cursor explicitly?
Draw cursor not set to "crosshair" if default cursor of map is set to "default" ,"pointer" or anything else maybe.
The draw cursor is set to "crosshair" only when the cursor style is not explicitly set.
For example if I do
map.getCanvas().style.cursor = "default"
The draw cursor is also set to "default"
But if I just remove the above-mentioned line, the draw cursor is set to "crosshair" upon selecting a draw mode.
mapbox-gl-js 1.0.0:
mapbox-gl-draw 1.1.2:
Steps to Trigger Behavior
map.getCanvas().style.cursor = "default"
Expected Behavior
Cursor is to be set to crosshair when a draw mode is selected.
Actual Behavior
Cursor is not set to crosshair when a draw mode is selected.
The text was updated successfully, but these errors were encountered: