Skip to content
Mathieu Leplatre edited this page May 24, 2013 · 13 revisions

To be merged

  • WORK in PROGRESS *
Name Description Source
getPixelLength() length in pixels on map return getPixelLengthAccumlated().length
getPixelLengthAccumulated({L.Polyline or Array[L.Point] or Array[L.LatLng]}) list of objects

PolylineDecorator

L.GeometryUtil.js

    projectPatternOnPath: function (path, offsetRatio, repeatRatio, map) {
       --> particular case of projectPatternOnPointPath() with LatLngs

    projectPatternOnPointPath: function (pts, offsetRatio, repeatRatio) {
       --> particular case of interpolateOnPointPath() with list of ratios

Makina

L.GeomUtils

        cloneLatLng: function(latlng) {
             --> L.latLng(ll)

https://github.com/Leaflet/Leaflet.draw/tree/master/src/ext

https://github.com/Turistforeningen/Leaflet.draw/blob/f562608ade64483f85a40fc4c326e30e603b15db/src/ext/LineUtil.Snapping.js

http://udig.refractions.net/files/docs/api-geotools/org/geotools/graph/util/geom/GeometryUtil.html

Clone this wiki locally