Commit message (Collapse) | Author | Age | Files | |
---|---|---|---|---|
* | Tighten split() limit argument. | Guilhem Moulin | 7 days | 1 |
| | ||||
* | Popover: Dynamically generate HTML from properties. | Guilhem Moulin | 7 days | 1 |
| | | | | There is no need to pre-generate and cache the HTML for all features. | |||
* | Gray out a detached popover before recyling it. | Guilhem Moulin | 7 days | 1 |
| | ||||
* | Dispose popover when (un)selecting layers. | Guilhem Moulin | 7 days | 1 |
| | ||||
* | Overlay: Get an array of feature properties from the CGI. | Guilhem Moulin | 7 days | 1 |
| | | | | | | | | | | | | | Rather than an array GeoJSON objects. The Web Application doesn't need the original full/non-simplified geometry. After all, OpenLayers has fetched the tiles already and the (visible part of) the geometry is already cached in the target SRS with sensible simplification factors. So there is really no need to transfer megabytes of high-precison data to the client to highlight the feature. This changes means that CGI responses will remain small hence can be buffered. | |||
* | Rename GeomArea resp. GeomLength properties to geom_area resp. geom_length. | Guilhem Moulin | 9 days | 1 |
| | ||||
* | Batch requests to CGI. | Guilhem Moulin | 9 days | 1 |
| | | | | Cf. 527fdfd1e46d66007758861dd0decf9c03043d0a in tools. | |||
* | Adjust SKS layer popovers to current schema. | Guilhem Moulin | 11 days | 1 |
| | | | | Cf. 990978c7403ca58956c131dc7992ff113ea04ea6 in tools. | |||
* | Adjust MRR layer popovers to current schema. | Guilhem Moulin | 11 days | 1 |
| | | | | Cf. 981a97c572ee064b4f3ade5d1fc9e5c4397701ff in tools. | |||
* | Adjust to new MVT backend. | Guilhem Moulin | 11 days | 1 |
| | | | | | | | We now query a CGI to retrieve feature properties and full geometries (as GeoJSON). This partially reverts commit 1c0748176997d2e915faae3c6fcf5634f4fb0582. | |||
* | Add layers for Riksintressen, naturvård och friluftsliv. | Guilhem Moulin | 2024-10-20 | 1 |
| | ||||
* | Add layers for Naturvårdsregistret and Naturvårdsavtal. | Guilhem Moulin | 2024-10-20 | 1 |
| | ||||
* | Adjust to new backend. | Guilhem Moulin | 2024-10-20 | 1 |
| | | | | | | | | | Account for changes in the tooling: - Use multiple vector layers and a metadata.json manifest; - Automatically reload the manifest after 6h so we don't miss updates; - Fetch feature properties from separate attribute files; and - Use the original feature geometry as overlay to avoid clipping. | |||
* | Add ability to maximize popovers. | Guilhem Moulin | 2024-05-30 | 1 |
| | ||||
* | Don't re-attach open popovers when clicking on a feature. | Guilhem Moulin | 2024-05-30 | 1 |
| | | | | | Once an open popover is detached, keep it detached until it is closed. That's also the behavior of https://apps.sgu.se/kartvisare/kartvisare-mineralrattigheter.html . | |||
* | Improve comments. | Guilhem Moulin | 2024-05-20 | 1 |
| | ||||
* | CSS: Improve rules for mobile devices. | Guilhem Moulin | 2024-02-02 | 1 |
| | | | | Place control icons in a row near the top. | |||
* | CSS: Improve rules for mobile devices. | Guilhem Moulin | 2024-01-31 | 1 |
| | ||||
* | typofix | Guilhem Moulin | 2024-01-31 | 1 |
| | ||||
* | Add layer for gigafactories (own drawing). | Guilhem Moulin | 2024-01-31 | 1 |
| | ||||
* | Add layer for dams (from SMHI). | Guilhem Moulin | 2024-01-31 | 1 |
| | ||||
* | Move some layers into a dedicated MVT container. | Guilhem Moulin | 2024-01-31 | 1 |
| | | | | | | | | | | The SKS and ST layers are much larger than the rest, there are tons of features which cover almost of the territory. They therefore take longer to download. As they are insible by default, it makes sense to factor them out to speed up the rest. This is just a PoC for now, we'll need to refator later and posibly use a separate layer for each of SvK, SGU, VBK, SKS, ST, etc. | |||
* | Fix VectorTile URL. | Guilhem Moulin | 2024-01-31 | 1 |
| | ||||
* | Add layer for forestry (from Skogsstyrelsen). | Guilhem Moulin | 2024-01-31 | 1 |
| | ||||
* | Add layer for Rennäringen (from Sametinget). | Guilhem Moulin | 2024-01-30 | 1 |
| | ||||
* | Fix SvK's z-index. | Guilhem Moulin | 2024-01-30 | 1 |
| | ||||
* | Add blank lines. | Guilhem Moulin | 2024-01-30 | 1 |
| | ||||
* | Add windmill layers (from LST Vindbrukskollen). | Guilhem Moulin | 2024-01-30 | 1 |
| | ||||
* | Mineralrättigheter: Remove unused fields from popover. | Guilhem Moulin | 2024-01-30 | 1 |
| | ||||
* | Factor out unit formating in popover. | Guilhem Moulin | 2024-01-29 | 1 |
| | ||||
* | Add “mineral rights” layers (from SGU). | Guilhem Moulin | 2024-01-29 | 1 |
| | ||||
* | Improve style for SvK stations. | Guilhem Moulin | 2024-01-29 | 1 |
| | ||||
* | Improve dash style for SvK's transmissionsnätsprojekt. | Guilhem Moulin | 2024-01-29 | 1 |
| | ||||
* | Add SVK's transmissionsnätsprojekt. | Guilhem Moulin | 2024-01-29 | 1 |
| | | | | From https://www.svk.se/utveckling-av-kraftsystemet/transmissionsnatet/transmissionsnatsprojekt/ | |||
* | Put layer names in location hash. | Guilhem Moulin | 2024-01-28 | 1 |
| | ||||
* | Put basemap name in location hash. | Guilhem Moulin | 2024-01-28 | 1 |
| | ||||
* | Set ‘aria-label’ attribute on <button>s to their ‘title’ attribute ↵ | Guilhem Moulin | 2024-01-22 | 1 |
| | | | | value. | |||
* | Highlight features shown in popover. | Guilhem Moulin | 2024-01-22 | 1 |
| | ||||
* | map.forEachFeatureAtPixel(): Add a layerFilter. | Guilhem Moulin | 2024-01-22 | 1 |
| | ||||
* | Fix space damage. | Guilhem Moulin | 2024-01-22 | 1 |
| | ||||
* | Fix popover absolute placement after unanchoring. | Guilhem Moulin | 2024-01-22 | 1 |
| | | | | | | We need to place it under .ol-overlaycontainer-stopevent. Unfortunately this messes its positions upon entering fullscreen, so we dispose it instead. | |||
* | Add ability to grab and move popovers. | Guilhem Moulin | 2024-01-22 | 1 |
| | ||||
* | VectorTile: Don't filter MVT layers. | Guilhem Moulin | 2024-01-22 | 1 |
| | | | | | We're only exporting the layers of interest, no need for any further client-side filtering. | |||
* | Fix space damage. | Guilhem Moulin | 2024-01-22 | 1 |
| | ||||
* | Show feature properties on popover via singleclick on map. | Guilhem Moulin | 2024-01-22 | 1 |
| | | | | | We use bootstrap's Popover for that: https://getbootstrap.com/docs/5.3/components/popovers/#options | |||
* | Fix minor JS styling issues. | Guilhem Moulin | 2024-01-21 | 1 |
| | ||||
* | Use .classList.replace() not .classList.remove() + .classList.add() for ↵ | Guilhem Moulin | 2024-01-21 | 1 |
| | | | | button toggling. | |||
* | Fix resolution-to-zoom logic. | Guilhem Moulin | 2024-01-20 | 1 |
| | ||||
* | Factor out ‘resolutions’ array. | Guilhem Moulin | 2024-01-20 | 1 |
| | | | | | | | | 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 Moulin | 2024-01-20 | 1 |
| | | | | (Clicking it exits fullscreen mode, which is undesired.) |