Leaflet.ArrowCircle
Circle with a directional arrow for use with the Leaflet mapping library.
Requirements
- Leaflet 1.6.0+ (it may well work with earlier versions; they have not been tested)
- Browser support for SVG
Demo
https://coyotesqrl.github.io/Leaflet.ArrowCircle
Usage
Include L.ArrowCircle.js
as appropriate to your environment (HTML or Node).
Simple initialization
Lmarker ;
Properties
Option | Type | Default | Description |
---|---|---|---|
color | String | #0080ff |
Color of the ArrowCircle |
size | Number | 36 | Total size of viewport square; the circle's center is coincident with the viewport's and the tip of the arrow abuts the end |
opacity | Number | 1 | Opacity of the ArrowCircle |
rotation | Number | 0 | Angle at which the arrow points |