Methods
-
addScale(){undefined}
vmap/tools/location.js, line 165 -
Add a scale to the scale control
-
geolocateMe()
vmap/tools/location.js, line 280 -
Localise the map on the geolocation position
-
goHome()
vmap/tools/location.js, line 242 -
Localise the map on the home position
-
goTo(Xid, Yid, projectionId)
vmap/tools/location.js, line 259 -
Localise the map on the entry position
Name Type Description Xidstring html id to the X value
Yidstring html id to the Y value
projectionIdstring html id to the projection value
-
locateGeom(geojson, proj){String}
vmap/tools/location.js, line 437 -
Locate a geom
Name Type Description geojsonstring | object geoJSON geometry
projstring geom projection (ex: EPSG:2154)
-
locatePlace(place){Number|String}
vmap/tools/location.js, line 407 -
Zoom on a place
Name Type Description placeName Type Description lonobject longitude
latobject latitude
geojsonobject geometry
Returns:
error
-
maxExtent()
vmap/tools/location.js, line 228 -
Localise the map on the home position
-
removeLocation()
vmap/tools/location.js, line 477 -
Remove the location and hide the panel
-
searchLocation(location, limit)
vmap/tools/location.js, line 319 -
Search a location
Name Type Description locationstring limitinteger -
setAPILocationProperties(){String}
vmap/tools/location.js, line 190 -
Make a ajax http request to the server and set the customLocationServicesProperties value
Returns:
error