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

Integrating Leaflet Plugins #37

Open
morehawes opened this issue Apr 5, 2024 Discussed in #36 · 0 comments
Open

Integrating Leaflet Plugins #37

morehawes opened this issue Apr 5, 2024 Discussed in #36 · 0 comments
Labels
enhancement New feature or request question Further information is requested

Comments

@morehawes
Copy link
Collaborator

Discussed in https://github.com/orgs/OpenGIS/discussions/36

Originally posted by killianweid March 28, 2024
Hello, in order to rotate the map according to the direction of movement of the user (I developed a GPS on leaflet maps) I would like to integrate the npm package leafleat-rotate-map but I don't know how to go about it.
I have already tried to install it via the command "npm install leaflet-rotate-map" then include it in the waymark.js file via line 27 of the "Gruntfile.js" file as an attachment. But then when I try to use the "setBearing()" method in the "Waymark_Map.js" file (which is created in the previous package) it is not recognized..
Gruntfile.js.zip

@morehawes morehawes added enhancement New feature or request question Further information is requested labels Apr 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Development

No branches or pull requests

1 participant