-
Notifications
You must be signed in to change notification settings - Fork 20
URL parameters
jmacura edited this page Nov 28, 2025
·
1 revision
HSLayers-NG exposes some aspects of its state in the URL parametres. These parametres can be also used to control the state of the application after the startup. In other words, the parametres are not only exposed, but also read by the HSLayers-NG applications and interpreted during the initial load. The list of parametres follows.
| parametre | description |
|---|---|
| hs-x | X map coordinate |
| hs-y | Y map coordinate |
| hs-z | Map zoom |
| hs-visible-layers | List of layers, which shall be initially turned on in LayerManager, i.e. visible in map |
| hs-panel | Name of the panel, which will open after application starts |
| hs-lang | Language code of a language to use for the GUI |
| hs-puremap | When set to `true`, the application will load in a minimalistic form without any panels or toolbars |
| hs-view | |
| hs-permalink | |
| hs-composition | Link to a map composition file. The map composition will be parsed and opened after the startup. |
| hs-search | |
| hs-layer-selected | |
| hs-wms-to-connect | Link to a WMS service, from which a layer can be loaded during startup and added to map and LayerManager |
| hs-wfs-to-connect | Link to a WFS service, from which a layer can be loaded during startup and added to map and LayerManager |
| hs-wmts-to-connect | Link to a WMTS service, from which a layer can be loaded during startup and added to map and LayerManager |
| hs-kml-to-connect | Link to a KML file, which can be loaded during startup and added to map and LayerManager |
| hs-geojson-to-connect | Link to a GeoJSON file, which can be loaded during startup and added to map and LayerManager |
| hs-arcgis-to-connect | Link to a ArcGIS Rest service, from which a layer can be loaded during startup and added to map and LayerManager |
| hs-wms-layers | |
| hs-wfs-layers | |
| hs-wmts-layers | |
| hs-kml-layers | |
| hs-geojson-layers | |
| hs-arcgis-layers |
- https://hub4everybody.com/map/?hs-x=1945211.1423359748&hs-y=6904584.935889341&hs-z=4&hs-lang=en&hs-visible-layers=OpenStreetMap
- https://app.hslayers.org/ows-browser/?wms_to_connect=https%3A%2F%2Fhub4everybody.com%2Fgeoserver%2Fjan_vrobel_wms%2Fows%3FSERVICE%3DWMS%26%26VERSION%3D1.3.0%26LAYERS%3Dab_dv_slavkov_2021_vz8
Quick Links: Home ➖ App configuration ➖ Layer configuration ➖ Cesium configuration ➖ Composition schema (separate repo)
- Add data
- Compositions
- Draw
- Feature table
- Language switcher
- Layer manager
- Legend
- Measure
- Map Swipe
- Search
- Share map (permalink)
- Query (feature info)
- Save map composition
- Trip planner
- App config parameters
- Cesium config parameters
- Layer config parameters
- SCSS variables
- URL parameters