Skip to content
This repository has been archived by the owner on Sep 26, 2024. It is now read-only.

Displaying the cursor as crosshair on the map #66

Open
iem5 opened this issue Jun 29, 2018 · 0 comments
Open

Displaying the cursor as crosshair on the map #66

iem5 opened this issue Jun 29, 2018 · 0 comments

Comments

@iem5
Copy link

iem5 commented Jun 29, 2018

For the building-a-geospatial-app tutorial, I found that on the website the cursor displayed as a crosshair over the map but with the code from the tutorial, it displayed as a hand on both of my browsers. In order to fix that I added:
style={{cursor: 'crosshair'}}
to the end of the DeckGL tag in the return statement of the deckgl-overlay.js file.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant