I am working with the ScalaJS library https://github.com/fancellu/scalajs-leaflet and I am looking to incorporate some custom javascript from https://jackzoushao.github.io/leaflet-marker-direction The key functionality is the ability to rotate the markers based on the direction of travel. Any tips on how to achieve this will be greatly appreciated.
Look at
Note the Marker, they create an AngleMarker
Try creating appropriae AngleMarker scala code, and pull in the js
Also look at how I pulled in some GeoJSON.js object
https://github.com/fancellu/scalajs-leaflet/commit/1ebbbdc40ef8cdde7aee362864b5f2812d9be5b6
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments