Displaying 1 to 20 from 33 results

react-google-maps - React.js Google Maps integration component

  •    Javascript

The changelog is automatically generated via standard-version and can be found in project root as well as npm tarball. Please, be noted, no one, I mean, no one, is obligated to help you in ANY means. Your time is valuable, so does our contributors. Don't waste our time posting questions like “how do I do X with React-Google-Maps” and “my code doesn't work”. This is not the primary purpose of the issue tracker. Don't abuse.

phpgeo - Simple Geo Library for PHP

  •    PHP

phpgeo provides abstractions to geographical coordinates (including support for different ellipsoids) and allows you to calculate geographical distances between coordinates with high precision. Minimum required PHP version is 7.0.

leaflet-omnivore - universal format parser for Leaflet & Mapbox.js

  •    Javascript

Leaflet supports the GeoJSON format by default. What if you have something else? That's where omnivore comes in.Omnivore also includes an AJAX library, corslite, so you can specify what you want to add to the map with just a URL.


  •    Javascript

Branching from Leaflet.FreeDraw, L.Pather is a freehand polyline creator that simplifies the polyline for mutability.

chaikin-smooth - Chaikin's smoothing algorithm for 2D polylines

  •    Javascript

Chaikin's smoothing algorithm for 2D polylines.Performs the smoothing algorithm on the specified path, returning a list populated with the additional smoothed points. If the input path has a length of <= 2, the result will be a new array with the same points as the input.

extrude-polyline - triangulates a 2D polyline into a stroke

  •    Javascript

Extrudes a 2D polyline with a given line thickness and the desired join/cap types. Tries to maintain visual consistency with HTML5 2D context stroking.The returned mesh is a simplicial complex.

lineclip - A very fast JavaScript polyline and polygon clipping library

  •    Javascript

A very fast JavaScript library for clipping polylines and polygons by a bounding box.Returns an array of clipped lines.

polyline-normals - gets miter normals for a 2D polyline

  •    Javascript

Computes the normals of a polyline, using miter joins where multiple segments meet. This is mainly useful to expand thick lines in a vertex shader on the GPU.See the 2d test for an example of how these lines would be extruded.

simplify-path - simplify 2D polyline of arrays

  •    Javascript

Simplifies a 2D polyline, first using a radial distance check, and then a recursive Douglas-Peucker algorithm. The code is from simplify-js, but uses arrays for better interoperability with npm modules like stack.gl, parse-svg-path, chaikin-smooth, ndarray, etc.Note: For performance, this does not produce a deep copy of the input.

three-line-2d - lines expanded in a vertex shader

  •    Javascript

A utility for 2D line drawing in ThreeJS, by expanding a polyline in a vertex shader for variable thickness, anti-aliasing, gradients, line dashes, and other GPU effects.Works in ThreeJS r69-r75, and possibly newer versions.

triangulate-contours - triangulates a series of 2D contours

  •    Javascript

Triangulates a series of contours using Tess2.js. Returns a simplicial complex with { positions, cells }. Works with 2D and 3D coordinates, and contours can be in reverse winding order for holes.positions are a series of points with the same number of components as the input, and cells is a list of faces with indices into the positions array.

kld-intersections - A library of intersection algorithms covering all SVG shape types

  •    Mathematica

Below is a table listing each of the supported curve types. The Name column is the name you will need to use to refer to the shape of the given type. Arguments lists the parameters you will use to describe the shape of the given curve. It is important to note that not all combinations of names are available in the API. The current implementation supports 8 types of curves. If we count all combinations of any two curves, we end up needing 8 * 8 = 64 methods to cover all cases. And when we add Arc and Path to our list, we will need 10 * 10 = 100 methods to be written. Fortunately, the order in which we specify the curves is not important.


  •    Elixir

This is an Elixir implementation of polyline encoding/decoding. Functions are provided to convert a List of {lon, lat} tuples to a String polyline representation and back. Note: while a lot of libraries use [latitude, longitude] ordering, this library maintains proper cartesian order ({x, y} or {longitude, latitude}) in order to be more interoperable with common formats such as GeoJSON and WKT.

Leaflet.Polyline.SnakeAnim - Animates Leaflet polylines so they creep into full length

  •    Javascript

A plugin for LeafletJS to make polylines animate into existence. Animation is time- and distance- based: the more time elapsed into the animation, the longer the visible length of the polyline.

Path.Drag.js - Add dragging capability to Leaflet paths.

  •    Javascript

Add dragging capability to Leaflet path (Polygon, Polyline, Rectangle, Circle, CircleMarker…). Include Path.Drag.js in your javascript files (after including Leaflet itself).

Leaflet.Arc - Leaflet.js plugin for drawing Great Circle arcs using arc.js

  •    Javascript

This Leaflet.js plugin adds L.Polyline.Arc function which wraps arc.js functionality for drawing Great Circle arcs on your maps. Returns general L.Polyline object.

leaflet.pm - A Leaflet Plugin For Drawing and Editing Geometry Layers in Leaflet 1.0

  •    Javascript

A Leaflet Plugin For Creating And Editing Geometry Layers in Leaflet 1.0. Draw, Edit, Drag, Cut and Snap Features. In the name "leaflet.pm" the "pm" stands for Polygon Management. At the time, this plugin only supported polygons. Now you can edit Markers, Polylines, Polygons, Circles, Rectangles, LayerGroups, GeoJSON and more are coming.

Leaflet.encoded - Plugin to support Google's polyline encoding in Leaflet.

  •    Javascript

This Leaflet plugin extends Leaflet with functions to encode to and decode from Google maps polyline encoding. Make sure to always escape the backslashes in encoded strings! Not doing so will result in the backslash to be interpreted as an escape character, yielding wrong results.

simplification - Fast LineString simplification using RDP or Visvalingam-Whyatt and a Rust binary

  •    Python

pip install simplification Please use a recent (>= 8.1.2) version of pip. Passing empty and/or 1-element lists will return them unaltered.

Leaflet.Path.Drag - Drag functionality for Leaflet vector layers

  •    Javascript

Drag handler for Leaflet vector features. It adds dragging API and events of L.Marker to L.Polygon and L.Polyline. If you are looking for this functionality combined with Leaflet.draw, take a look at Leaflet.draw.drag and Leaflet.Editable.Drag.