Class: GeometryEntity

cercaliagl.service/GeometryEntity


new GeometryEntity()

Extends

  • module:cercaliagl/service/Service~Service

Methods

getDistrictGeometry(districtId, callbackFn)

Get district geometry in WKT format.

Name Type Description
districtId string

District id.

callbackFn function

Callback function to parse data server response.

getMunicipalityGeometry(municipalityId, callbackFn)

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)

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.

getPostalCodeShortGeometry(countryId, postalCode, callbackFn)

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.

Returns:
Response

getWKT(){string|null}

Returns:
WKT last geometry requested.