Map centering information object.
- Use x,y and projection properties to center the map with coordinates ;
- Use location and locationType properties to center the map thanks to Geoportal geocoding web service.
- Use geolocate to center the map with user position.
Properties:
Name | Type | Description |
---|---|---|
x | Float | x coordinates for center |
y | Float | y coordinates for center |
projection | String | center coordinates srs |
location | String | place or address where to center the map |
locationType | String | location type ("StreetAddress", "PositionOfInterest", "CadastralParcel", "location"). Default is "location" |
geolocate | Boolean | center the map by geolocation |