Skip to content

Commit 146b4ec

Browse files
committed
run prettier
1 parent 62b9438 commit 146b4ec

3 files changed

Lines changed: 16 additions & 16 deletions

File tree

access-data/find-features.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ This endpoint only has query parameters that modify the behavior of the request,
2121
| **returnGeometry (optional)** | This parameter defines whether the geometry is returned or not. Default to "true". |
2222
| **sr (optional)** | The spatial reference. Supported values: 21781 (LV03), 2056 (LV95), 4326 (WGS84) and 3857 (Web Pseudo-Mercator). Defaults to "21781". |
2323
| **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: <span class="title-ref">{ "\<layerId\>" : "\<layerDef1\>"}</span> |
24+
| **layerDefs (optional)** | Filter features with an expression (see [identify features](/access-data/identify-features##layerdefs-syntax)) Syntax: <span class="title-ref">{ "\<layerId\>" : "\<layerDef1\>"}</span> |
2525
| **callback (optional)** | The name of the callback function. |
2626

2727
## Examples

map-viewer/url-parameters.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -42,21 +42,21 @@ See [the tutorial about HTML iframes](/map-viewer/embed-in-an-iframe) for detail
4242

4343
A list of all URL parameters available at [map.geo.admin.ch](https://map.geo.admin.ch).
4444

45-
| Parameter | Description | Values | Example |
46-
| -------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------- | -------------------------------------------------------------------------------------- |
47-
| `lang` | Language of the application | de, fr, it, rm, en | https://map.geo.admin.ch/#/map?lang=rm |
48-
| `z` | Zoom level | 0, 1, ..., 13 | https://map.geo.admin.ch/#/map?z=12 |
49-
| `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 |
51-
| `bgLayer` | Background layer | ch.swisstopo.pixelkarte-farbe, ch.swisstopo.pixelkarte-grau, voidLayer | https://map.geo.admin.ch/#/map?bgLayer=ch.swisstopo.pixelkarte-grau |
52-
| `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 |
45+
| Parameter | Description | Values | Example |
46+
| -------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------- | -------------------------------------------------------------------------------------- |
47+
| `lang` | Language of the application | de, fr, it, rm, en | https://map.geo.admin.ch/#/map?lang=rm |
48+
| `z` | Zoom level | 0, 1, ..., 13 | https://map.geo.admin.ch/#/map?z=12 |
49+
| `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 |
51+
| `bgLayer` | Background layer | ch.swisstopo.pixelkarte-farbe, ch.swisstopo.pixelkarte-grau, voidLayer | https://map.geo.admin.ch/#/map?bgLayer=ch.swisstopo.pixelkarte-grau |
52+
| `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 |
5555
| `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 |
6060

6161
## Layer Parameters
6262

0 commit comments

Comments
 (0)