Introduction
This document describes startup parameters for the embedded and full versions of Louhi.
New in 8.14:
An embedded map using the new UI is available. It can used by removing ".aspx" from URL's. It has the same parameters.
Parameters
The following table describes individual parameters that can be used in the URL of the embedded or full version of Louhi.
Parameter name(s) | Datatype | Default* | Description | Added |
---|---|---|---|---|
e,easting | float | C | Startup location easting | |
n,northing | float | C | Startup location northing | |
r,resolution | float | C | Startup resolution (meters/pixel). Available values are configurable. | |
language,setlanguage | string | C | UI language as standard language code (examples fi, sv, en). Available values are configurable. | |
l,layers | string | C | Startup enabled map layer IDs delimited by commas. If defined with an empty value, no layers are enabled at startup. | |
w,wheres | string | C | Filters delimited with asterisks for specified layers in “layers”-parameter using Query Language. Affects vector layers only. | |
o | string | 100 | Opacities delimited with commas for specified layers in “layers”-parameter. Range 0-100. | |
profile | int | C | Startup profile ID. User must have rights to this profile ID. | |
rots | float | 0 | Map Rotation in degrees. Affects only new ui. Range 0-360. | |
rott | float | 0 | Map Tilt in degrees. Affects only new ui. Range 0-80. | |
names | 0/1 | 0 | Show name labels on map for features | |
dim | 0/1 | 0 | Dim basemaps | |
geom | string | Show a WKT encoded geometry on map. Geometry must be in map coordinates. | ||
text | string | Show text annotation on map. | ||
addresslocation | string | Use address location as start location and show marker on map for address. Requires that address search has been enabled and configured to site. | ||
addresslabel | string | Use custom label for marker placed with addresslocation parameter. | ||
id | string | Open the map using this feature id. idlayer parameter must be defined also. | ||
idlayer | string | Define layer id for id parameter | ||
srs | string | C | specifies the coordinate system of easting, northing, and geom parameters | 8.0.9 |
label | string | specify label for geom parameter | 8.0.9 | |
link | string | use a saved link state for startup parameters | 8.15 | |
Only in embedded mode | ||||
legend | 0/1 | 0 | Show legend UI | |
maptools | 0/1 | 0 | Show map tools UI (dim map/show names etc. buttons) | |
search | 0/1 | 0 | Show search box UI (in old ui only, not implemented fully). | |
minimap | 0/1 | 0 | Show minimap UI | |
mmhidden | 0/1 | C | Minimize minimap on start. | |
maplink | 0/1 | 0 | Add button to open map in full mode | |
leftmenu | 0/1 | 0 | Show main menu UI | 8.15 |
quickmaps | 0/1 | 0 | Shows buttons as configured in Quick Maps settings (admin → profile → Quick Maps) | 8.16 |
*C = Default value is read from the Louhi configuration.