Перейти к содержанию

geopoint Model Interface

geopoint interface allows to position object on map. An object with the geopoint interface will be shown on maps's layer named layer starting from zoom level.

zoom level settings can ovrerride layer's defaults.

Variables

NameTypeDescriptionRequiredConstant
layerstrMap layer code
sridstrSpatial reference system, autority:code or LOCAL
zoomintDefault zoom level (override layer's default)
xfloatx coordinate, in SRS units
yfloaty coordinate, in SRS units
zfloatHeight above ellipsoid, in meters
anglefloatRotation angle, in degrees

Examples of Spatial reference systems:

sridDescription
EPSG:4326GPS
SR-ORG:95Google Maps/Microsoft Live

Examples

{
  "geopoint": {
    "layer": "pop_regional"
  }
}