Class: GeometryEntity

cercalia.service.GeometryEntity


new cercalia.service.GeometryEntity()

src/cercalia/service/geometryentity.js, line 13

GeometryEntity service constructor

Extends

Methods

getClass(){string} inherited

src/cercalia/object.js, line 41
Returns:
Get Class name of object

getDistrictGeometry(districtId, callbackFn)

src/cercalia/service/geometryentity.js, line 95

Get district geometry in WKT format.

Name Type Description
districtId string

District id.

callbackFn function

Callback function to parse data server response.

getId(){string} inherited

src/cercalia/object.js, line 33
Returns:
Unique Id.

getMunicipalityGeometry(municipalityId, callbackFn)

src/cercalia/service/geometryentity.js, line 74

Get municipality geometry in WKT format.

Name Type Description
municipalityId string

Municipality.

callbackFn function

Callback function to parse data server response.

getPostalCodeGeometry(countryId, postalCode, callbackFn)

src/cercalia/service/geometryentity.js, line 32

Get postal code geometry in WKT format.

Name Type Description
countryId string

Country Id.

postalCode string

Postal code.

callbackFn function

Callback Function to parse data server response.

getResponse(){cercaliax.GeometryEntityResult|null}

src/cercalia/service/geometryentity.js, line 126
Returns:
Response

getShortPostalCodeGeometry(pc2, callbackFn)

src/cercalia/service/geometryentity.js, line 53

Get postal code geometry in WKT format.

Name Type Description
pc2 string

PC2

callbackFn function

Callback Function to parse data server response.

getWKT(){string|null}

src/cercalia/service/geometryentity.js, line 134
Returns:
WKT last geometry requested.