Waymark
Waymark copied to clipboard
Integrating Leaflet Plugins
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