Skip to content

Latest commit

 

History

History
44 lines (25 loc) · 1.22 KB

README.md

File metadata and controls

44 lines (25 loc) · 1.22 KB

Geodesic polylines, polygons and circles for Leaflet 1.x.

These will follow the curvature of the Earth and are used just like the normal versions of the constructors that are rendered as straight lines on the screen.

L.GeodesicPolyline

L.geodesicPolyline(<LatLng[]> latlngs, <Polyline options> options?)

L.GeodesicPolygon

L.geodesicPolygon(<LatLng[]> latlngs, <Polyline options> options?)

L.GeodesicCircle

L.geodesicCircle(<LatLng> latlng, <Circle options> options?)

(obsolete way)

L.geodesicCircle(<LatLng> latlng, radius, <Circle options> options?)