Class: BaseFeature

cercaliagl.BaseFeature


Abstract class for internal purposes. Don't use it.

Subclasses

Extends

Methods

module:cercaliagl/BaseFeature~BaseFeature.googleEncodedCircleToGeometry(encodeCenter, radius, vertices){module:cercaliagl/util~GeometryGeoJSON}

Create circle geometry given a center, a radius and optionally number of vertices.

Name Type Description
encodeCenter string

Center encoded on google polyline format.

radius number

Radius in meters

vertices number (defaults to 64)

Number of vertices. Default 64.

Returns:
geometry

Gets a value.

Name Type Description
key string

Key name.

Returns:
Value.

getGeoJSON(){GeoJSON}

Returns:
GeoJSON

getGeometryType(){string}

Returns:
GeoJSON

getId(){String}

Returns:
Id
Returns:
Layer
Returns:
Map

set(key, value, silent) inherited

Sets a value.

Name Type Description
key string

Key name.

value *

Value.

silent boolean

Update without triggering an event.

setMap(map)

Name Type Description
map module:cercaliagl/Map~Map

Map