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
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: