Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inconsistent Cursor #28

Closed
supersonicclay opened this issue Jul 9, 2018 · 4 comments
Closed

Inconsistent Cursor #28

supersonicclay opened this issue Jul 9, 2018 · 4 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@supersonicclay
Copy link
Collaborator

Sometimes the mouse cursor is a hand, sometimes vertical resize arrows. Expected to be consistent. Even better if it changes to reflect what the cursor is over (base map vs. feature vs. edit handle of a feature).

@supersonicclay supersonicclay added the bug Something isn't working label Jul 9, 2018
@georgios-uber
Copy link
Contributor

I think the base map is interfering with the cursor.

@georgios-uber georgios-uber self-assigned this Jul 10, 2018
@supersonicclay supersonicclay added this to the Nebula 1.0.0 milestone Jul 10, 2018
supersonicclay added a commit that referenced this issue Sep 17, 2018
@hamidrz021
Copy link

Hi
can you make me an example or codesandbox that show how to change the cursor style to crosshair when wanting to draw a polygon?
thanks

@supersonicclay
Copy link
Collaborator Author

https://codesandbox.io/s/hello-world-nebulagl-csvsm should demonstrate it

@garretteklof
Copy link

What's the recommended way to handle cursor updating with react-map-gl-draw? I've managed to switch to 'crosshair' when drawing via getCursor manipulation, but unsure how to give a 'pointer' during the hover state as that's not seemingly React.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants