Skip to content

Latest commit

 

History

History
14 lines (12 loc) · 643 Bytes

README.md

File metadata and controls

14 lines (12 loc) · 643 Bytes

Description

Geodesic polylines and polygons for Leaflet

Adds:

L.GeodesicPolyline( <LatLng[]> latlngs, <Polyline options> options? )
L.GeodesicPolygon( <LatLng[]> latlngs, <Polyline options> options? )
L.GeodesicMultiPolyline( <LatLng[][]> latlngs, <Polyline options> options? )
L.GeodesicMultiPolygon( <LatLng[][]> latlngs, <Polyline options> options? )

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