node package manager

leaflet-geometryutil

Leaflet utility functions on geometries

Leaflet.GeometryUtil

  • Tested with stable Leaflet 0.7.0

Using Node:

    npm install leaflet-geometryutil

Or browser:

    <script src="leaflet.geometryutil.js"></script>

Check out online documentation.

    sudo apt-get install nodejs phantomjs
  • Ready !
    make test
  • Add function layersWithin() (#34, thanks @haoliangyu)
  • Fix safety check on the ratio value in ``interpolateOnLine()` (#29, thanks @Marcussacapuces91)
  • Same version as v0.3.3, new release as v0.4.0 to keep numbering coherent as a new feature has been added
  • Add bearing and destination functions (thanks @doublestranded)
  • Use a soft dependency for Leaflet (thanks Erik Escoffier)
  • Make sure interpolateOnLine() always returns a L.LatLng object (thanks Justin Manley)
  • Added UMD style initialization (thanks @PerLiedman)
  • Added readable distance (thanks @Mylen)
  • Fix side effects on latlngs with closest() (thanks @AndrewIngram)
  • Locate point on line
  • Rotate point around center
  • Fixed bug if closest point was on last segment
  • Line subpart extraction
  • Line lengths
  • Angle and slope computation
  • Line reverse
  • Line interpolation
  • Initial working version
  • BSD New