Classes
Type Definitions
-
CercaliaFeature{Object}
-
Properties:
Name Type Argument Description type'Feature' idstring <optional>
propertiesObject.<string, *> geometrymodule:cercaliagl/util~Point | module:cercaliagl/util~Polygon | module:cercaliagl/util~LineString | module:cercaliagl/util~MultiPolygon | module:cercaliagl/util~MultiLineString -
FeatureOptions{Object}
-
Properties:
Name Type Argument Description idstring <optional>
Feature id
editableboolean <optional>
Feature editable using mouse. Default
false.fillColorstring <optional>
Feature fill color. Default value
#009BFF.fillOpacitynumber <optional>
Feature fill opacity. Default value
0.2.strokeOpacitynumber <optional>
Feature stroke opacity. Default value
1.strokeColorstring <optional>
Feature stroke color. Default value
#2196F3.strokeWidthnumber <optional>
Feature stroke width. Default value
7.outlineboolean <optional>
Enable outline feature property. If no outline required, specify null. Default value
true.outlineColorstring <optional>
Feature outline color. Default value
#040252.outlineOpacitynumber <optional>
Feature outline opacity. Default value
1.outlineWidthnumber <optional>
Feature outline width. Default value
9.visibleboolean <optional>
Feature visible or not. Default
true.encodedLineStringstring <optional>
Encoded wkt linestring polyline.
encodedPolygonstring <optional>
Encoded polygon polyline wkt.
encodedMultiPolygonArray.<string> <optional>
Array of encoded wkt polygons.
encodedGoogleLineStringstring <optional>
Linestring wkt encoded on google polyline .
encodedGooglePolygonstring <optional>
Polygon wkt encoded on google polyline .
encodedGoogleMultiPolygonArray.<string> <optional>
Array of polygon wkts encoded on google polyline .
visibleboolean <optional>
Feature visible or not. Default
true.onClickfunction <optional>
Function to execute on marker click.
onDoubleClickfunction <optional>
Function to execute on marker double click.
onMouseOutfunction <optional>
Function to execute on Mouse Out.
onMouseOverfunction <optional>
Function to execute on Mouse Over.
onMouseMovefunction <optional>
Function to execute on Mouse Over.
onRightClickfunction <optional>
Function to execute on marker right click.
onModifyStartfunction <optional>
Function to execute on marker right click.
onModifyEndfunction <optional>
Function to execute on modify end. When feature is
editable.wktstring <optional>
WKT String with shape geometry to be painted. Mandatory to use that or
geometryproperty. More info: https://es.wikipedia.org/wiki/Well_Known_TextsimpleLabelmodule:cercaliagl/SimpleLabel~SimpleLabel <optional>
Marker Simple Label object.
geometrymodule:cercaliagl/util~Polygon <optional>
GeoJSON Geometry. Mandatory to use this property or
wktproperty. More info: https://geojson.org/ (Fromgeometryproperty).zIndexnumber <optional>
Z-Index. Default 0.
extraPropertiesObject.<string, string> <optional>
Extra properties to put inside geojson. Default {}.
encodedPrecisionnumber <optional>
Precision of encoded data. Default 5.
heightnumber <optional>
Default 0.
showDirectionboolean <optional>
Default
false.