You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: access-data/find-features.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,7 @@ This endpoint only has query parameters that modify the behavior of the request,
21
21
|**returnGeometry (optional)**| This parameter defines whether the geometry is returned or not. Default to "true". |
22
22
|**sr (optional)**| The spatial reference. Supported values: 21781 (LV03), 2056 (LV95), 4326 (WGS84) and 3857 (Web Pseudo-Mercator). Defaults to "21781". |
23
23
|**lang (optional)**| The language. Supported values: de, fr, it , rm, en. Defaults to "de". |
24
-
|**layerDefs (optional)**| Filter features with an expression (see [identify features](/access-data/identify-features##layerdefs-syntax)) Syntax: <spanclass="title-ref">{ "\<layerId\>" : "\<layerDef1\>"}</span> |
24
+
|**layerDefs (optional)**| Filter features with an expression (see [identify features](/access-data/identify-features##layerdefs-syntax)) Syntax: <spanclass="title-ref">{ "\<layerId\>" : "\<layerDef1\>"}</span> |
25
25
|**callback (optional)**| The name of the callback function. |
|`center`| Coordinates of center of the map view in LV95. The first value is the longitude-equivalent/easting, the second value is the latitude-equivalent/northing. The two are separated by a comma. | • Easting: between 2,450,000 and 2,900,000<br>• Northing: between 1,050,000 and 1,350,000 |https://map.geo.admin.ch/#/map?center=2700000,1140000|
50
-
|`topic`| Topic selected in the menu. Topics are groups of related datasets. | blw, are, bafu, swisstopo, kgs, funksender, nga, ivs, sachplan, geol, luftbilder, wildruhezonen, vu, inspire, ech |https://map.geo.admin.ch/#/map?topic=vu|
|`layers`| The layers in use. Each layer can be configured, see [layer parameters](#layer-parameters) for details. | See [layer parameters](#layer-parameters)|https://map.geo.admin.ch/#/map?layers=WMS|http://wms.geo.admin.ch/?| ch.swisstopo.geologie-geophysik-geothermie;ch.ensi.zonenplan-notfallschutz-kernanlagen |
53
-
|`timeSlider`| Sets the year of the time slider. Format: `YYYY`, e.g. `1981`. Can be used with all "timeEnabled" levels. Special case WMS: An empty value (``timeSlider=`) means that the data for all years is displayed. | 0000, 0001, ...., 9999 |https://map.geo.admin.ch/#/map?layers=ch.swisstopo.lubis-luftbilder_farbe&timeSlider=1981|
54
-
|`crosshair`| Describes the type, easting and northing of a crosshair that is drawn on the map. | • Type: cross, circle, bowl, point, marker<br>• Easting/northing: see `center`| (1) https://map.geo.admin.ch/#/map?center=2538700,1165890&z=6&crosshair=circle<br>(2) https://map.geo.admin.ch/#/map?crosshair=cross,2600981,1197448|
|`center`| Coordinates of center of the map view in LV95. The first value is the longitude-equivalent/easting, the second value is the latitude-equivalent/northing. The two are separated by a comma. | • Easting: between 2,450,000 and 2,900,000<br>• Northing: between 1,050,000 and 1,350,000 |https://map.geo.admin.ch/#/map?center=2700000,1140000|
50
+
|`topic`| Topic selected in the menu. Topics are groups of related datasets. | blw, are, bafu, swisstopo, kgs, funksender, nga, ivs, sachplan, geol, luftbilder, wildruhezonen, vu, inspire, ech |https://map.geo.admin.ch/#/map?topic=vu|
|`layers`| The layers in use. Each layer can be configured, see [layer parameters](#layer-parameters) for details. | See [layer parameters](#layer-parameters)|https://map.geo.admin.ch/#/map?layers=WMS|http://wms.geo.admin.ch/?| ch.swisstopo.geologie-geophysik-geothermie;ch.ensi.zonenplan-notfallschutz-kernanlagen |
53
+
|`timeSlider`| Sets the year of the time slider. Format: `YYYY`, e.g. `1981`. Can be used with all "timeEnabled" levels. Special case WMS: An empty value (``timeSlider=`) means that the data for all years is displayed. | 0000, 0001, ...., 9999 |https://map.geo.admin.ch/#/map?layers=ch.swisstopo.lubis-luftbilder_farbe&timeSlider=1981|
54
+
|`crosshair`| Describes the type, easting and northing of a crosshair that is drawn on the map. | • Type: cross, circle, bowl, point, marker<br>• Easting/northing: see `center`| (1) https://map.geo.admin.ch/#/map?center=2538700,1165890&z=6&crosshair=circle<br>(2) https://map.geo.admin.ch/#/map?crosshair=cross,2600981,1197448|
55
55
|`swisssearch`| A query sent to the service behind the search bar. The map viewer shows the search result as if you typed it into the search bar manually. <br>ℹ️ To center the map automatically on the first search result, use `&swisssearch_autoselect=true`, see also [the iframe documentation](/map-viewer/embed-in-an-iframe)| Any text | (1) https://map.geo.admin.ch/#/map?swisssearch=berges%2037%20payerne<br>(2) https://map.geo.admin.ch/#/map?swisssearch=7.04983,46.42928|
56
-
|`compareRatio`| The relative position of the swipe elements when comparison mode is enabled | Floating point value between 0 and 1 |https://map.geo.admin.ch/#/map?compareRatio=0.5&bgLayer=ch.swisstopo.pixelkarte-farbe&layers=ch.swisstopo.geologie-generalkarte-ggk200|
57
-
|`featureInfo`| How to display the tooltip. More details in [the corresponding section](#tooltip). | default, bottomPanel, tooltip, none |https://map.geo.admin.ch/#/map?layers=ch.bav.haltestellen-oev@features=8500010&lang=fr&featureInfo=bottomPanel|
58
-
|`geolocation`| Whether to enable geolocation. | true, false |https://map.geo.admin.ch/#/map?lang=fr&geolocation=true|
59
-
|`noSimpleZoom`| Whether the CTRL/CMD button must be pressed to zoom. This only takes effect in the [`embed` mode](#introduction). | true, false |https://map.geo.admin.ch/#/embed?&noSimpleZoom=true|
56
+
|`compareRatio`| The relative position of the swipe elements when comparison mode is enabled | Floating point value between 0 and 1 |https://map.geo.admin.ch/#/map?compareRatio=0.5&bgLayer=ch.swisstopo.pixelkarte-farbe&layers=ch.swisstopo.geologie-generalkarte-ggk200|
57
+
|`featureInfo`| How to display the tooltip. More details in [the corresponding section](#tooltip). | default, bottomPanel, tooltip, none |https://map.geo.admin.ch/#/map?layers=ch.bav.haltestellen-oev@features=8500010&lang=fr&featureInfo=bottomPanel|
58
+
|`geolocation`| Whether to enable geolocation. | true, false |https://map.geo.admin.ch/#/map?lang=fr&geolocation=true|
59
+
|`noSimpleZoom`| Whether the CTRL/CMD button must be pressed to zoom. This only takes effect in the [`embed` mode](#introduction). | true, false |https://map.geo.admin.ch/#/embed?&noSimpleZoom=true|
0 commit comments