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¶
Name | Type | Description | Required | Constant |
---|---|---|---|---|
layer | str | Map layer code | ||
srid | str | Spatial reference system, autority:code or LOCAL | ||
zoom | int | Default zoom level (override layer's default) | ||
x | float | x coordinate, in SRS units | ||
y | float | y coordinate, in SRS units | ||
z | float | Height above ellipsoid, in meters | ||
angle | float | Rotation angle, in degrees |
Examples of Spatial reference systems:
srid | Description |
---|---|
EPSG:4326 | GPS |
SR-ORG:95 | Google Maps/Microsoft Live |
Examples¶
{
"geopoint": {
"layer": "pop_regional"
}
}