Open florianm opened 3 years ago
Leaflet.Circle-sector wrapper created as a new R package: https://dbca-wa.github.io/leaflet.circlesector/
Now we can add wastdr::map_fanangles
as:
Should refactor the data prep for fan angles into download wastd turtledata and use pmap for performance on mis_bearing and mean_bearing
Refactor done: expensive rowwise() calculations of misorientation and mean angles are pushed to download_wastd_turtledata.
TODO: should write a wrapper for https://github.com/jieter/Leaflet-semicircle/blob/master/Semicircle.js which is available on npm using derivePoints
and invokeMethod
and see if we can leverage vectorised leaflet::circle()
.
Create a new R package leaflet-hatchlings