aboutsummaryrefslogtreecommitdiffstats
path: root/main.js
Commit message (Collapse)AuthorAgeFiles
* Fix resolution-to-zoom logic.Guilhem Moulin2024-01-201
|
* Factor out ‘resolutions’ array.Guilhem Moulin2024-01-201
| | | | | | | | And limit it to 8 meter / pixel since that's the highest resolution of Lantmäteriet's “Topografisk Webbkarta Visning, översiktlig” (open data) product. https://www.lantmateriet.se/globalassets/geodata/geodatatjanster/tb_twk_visning-oversiktlig_v1.0.3.pdf
* Hide export button in fullscreen mode.Guilhem Moulin2024-01-201
| | | | (Clicking it exits fullscreen mode, which is undesired.)
* Support layer hierarchy with arbitary depth.Guilhem Moulin2024-01-201
|
* Add accordions to the layer selection panel.Guilhem Moulin2024-01-201
|
* CSS: Improve handling of small viewports.Guilhem Moulin2024-01-191
|
* Improve handling of <iframe>.Guilhem Moulin2024-01-181
| | | | | Remove ability to click the map, and instead a button to open the map in a new tab.
* Power stations: Improve style.Guilhem Moulin2024-01-181
|
* Add features from Svenska Kraftnät.Guilhem Moulin2024-01-181
| | | | Source: https://ext-geodatakatalog-forv.lansstyrelsen.se/PlaneringsKatalogen/GetMetaDataById?id=08ec56a0-6b5c-4f83-b29e-375e6f1a34b9_C
* Fix space damage.Guilhem Moulin2024-01-181
|
* Add template for a legend dialog.Guilhem Moulin2024-01-181
|
* Populate #layer-selection-panel in JS.Guilhem Moulin2024-01-181
|
* Fix modal backdrop and pointer events.Guilhem Moulin2024-01-141
| | | | | Clicks on buttons or modal shouldn't propagate to the map. Also info-modal did not work in fullscreen mode.
* Shorten scale bar on smaller screens.Guilhem Moulin2024-01-141
|
* Add coordinates and zoom level in the hash part of the URL.Guilhem Moulin2024-01-141
| | | | This makes it possible to link to URLs showing specific locations.
* Add an example with a page containg the map in an <iframe>.Guilhem Moulin2024-01-141
|
* Fix space damage.Guilhem Moulin2024-01-141
|
* Add ability to download PNG exports.Guilhem Moulin2024-01-141
| | | | Inspired from https://openlayers.org/en/latest/examples/export-map.html .
* Replace .ariaExpanded/.ariaHidden with .setAttribute().Guilhem Moulin2024-01-131
| | | | | | The former appears not to work well with Firefox (the attribute is updated internally but the source doesn't change and the element remains unvisible).
* CSS: Make the feel more bootstrap-y.Guilhem Moulin2024-01-131
|
* Add a modal with information text.Guilhem Moulin2024-01-131
|
* Add FullScreen mode support.Guilhem Moulin2024-01-121
|
* Add more controls: a zoom slider and a scale line.Guilhem Moulin2024-01-121
|
* More CSS improvements and minor refactoring.Guilhem Moulin2024-01-121
|
* Improve CSS.Guilhem Moulin2024-01-121
|
* Add a simple dialog to switch between ‘topowebb’ and ↵Guilhem Moulin2024-01-121
| | | | ‘topowebb_nedtonad’.
* Basemap from Lantmäteriet.Guilhem Moulin2024-01-111