new cercalia.service.GeometryEntity()
src/cercalia/service/geometryentity.js, line 13
GeometryEntity service constructor
Extends
Methods
-
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 districtIdstring District id.
callbackFnfunction Callback function to parse data server response.
-
Returns:
Unique Id.
-
getMunicipalityGeometry(municipalityId, callbackFn)
src/cercalia/service/geometryentity.js, line 74 -
Get municipality geometry in WKT format.
Name Type Description municipalityIdstring Municipality.
callbackFnfunction 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 countryIdstring Country Id.
postalCodestring Postal code.
callbackFnfunction Callback Function to parse data server response.
-
Returns:
Response
-
getShortPostalCodeGeometry(pc2, callbackFn)
src/cercalia/service/geometryentity.js, line 53 -
Get postal code geometry in WKT format.
Name Type Description pc2string PC2
callbackFnfunction Callback Function to parse data server response.
-
getWKT(){string|null}
src/cercalia/service/geometryentity.js, line 134 -
Returns:
WKT last geometry requested.