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 districtId
string District id.
callbackFn
function 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 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.
-
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.