Skip to content

Latest commit

 

History

History
executable file
·
134 lines (68 loc) · 3.99 KB

utils.md

File metadata and controls

executable file
·
134 lines (68 loc) · 3.99 KB

Wicket

Factory that returns a new instance of Wicket

Returns Wkt new instance of Wicket

arrayToFeaturePolygon

Transforms an array of google.maps.LatLng into a Feature.<Polygon>

Parameters

Returns Feature<Polygon> [description]

latlngToFeaturePoint

Transforms a google.maps.LatLng or google.maps.LatLngLiteral into a Feature.<Point>

Parameters

Returns Feature<Point> a Point type Feature

markerToFeaturePoint

Transforms a google.maps.Marker to a Feature<Point>

Parameters

Returns Feature<Point> output Feature

polylineToFeatureLinestring

Converts a google.maps.Polyline into a Feature.<LineString>

Parameters

Returns Feature<LineString> [description]

polygonToFeaturePolygon

Receives an object and returns a Feature.<Polygon>

Parameters

Returns Feature.Polygon [description]

arrayToFeaturePoints

Converts an array of google.maps.LatLng into a FeatureCollection donde cada Feature es un punto del array de entrada

Parameters

Returns FeatureCollection geojson FeatureCollection

polygonToFeaturePolygonCollection

Converts a google.maps.Polygon or google.maps.Polyline into a FeatureCollection of points

Parameters

Returns FeatureCollection<Point> [description]

area

Receives an object and returns a GeoJson Feature of type Polygon

Parameters

Returns Number object's area