Skip to contents

Leaflet.Circle-sector wrappers

Wrapper functions for the Leaflet plugin “Leaflet.Circle-sector”.

addCircleSectorMid()
Add Circle sectors to a Leaflet map from a dataframe using bearing and spread
addCircleSectorMinMax()
Add Circle sectors to a Leaflet map from a dataframe using start and end angles
circlePlugin()
Register htmlDependency for leaflet.circle-sector.js
leaflet_basemap()
Create a Leaflet basemap focused on Western Australia
registerPlugin()
A pipe-friendly way to register a plugin for a Leaflet map

Example data

Packaged example data.

fans
Turtle hatchling nest emergences: Main fan of tracks
fans_mean
A data frame ready to be used in addCircleSectorMid
fans_tracks
A data frame ready to be used in addCircleSectorMinMax
fans_water
A data frame ready to be used in addCircleSectorMid
light_segments_artificial
A data frame ready to be used in addCircleSectorMid
light_segments_natural
A data frame ready to be used in addCircleSectorMid
lights
Turtle hatchling nest emergences: Known light sources
outlier_segments
A data frame ready to be used in addCircleSectorMid
outliers
Turtle hatchling nest emergences: Individual outlier tracks