Commit message (Collapse) | Author | Age | Files | |
---|---|---|---|---|
* | Add comments. | Guilhem Moulin | 3 days | 1 |
| | ||||
* | Setup a timeout to adjust the time filter at midnight. | Guilhem Moulin | 4 days | 1 |
| | | | | | | | We use usual integer comparison against the feature's timestamp internally, so for relative filters we need to adjust boundaries at midnight. The help text needs updating too if the modal is open and the relative dialog checked. | |||
* | Seal popover fields. | Guilhem Moulin | 4 days | 1 |
| | ||||
* | Undo splitting out to multiple files. | Guilhem Moulin | 5 days | 1 |
| | | | | | | | | | | | | The reason is that we want the different modules to produce side-effects (to avoid creating functions and keeping references to it) and we therefore need to control the order in which they are inlined during `vite build`. Unfortunately this doesn't seem to be possible right now, cf. https://github.com/storybookjs/storybook/issues/30768 . This reverts commits 670bba058d83620abdb3e8db5fd4ea89dba08142, 05a018f27aba3a20fd581cb88daa8afbbd3407de and 0fc7bdd8bf374c36fa0ba27702d1fafed09277ac. | |||
* | Factor out map setup into separate file. | Guilhem Moulin | 5 days | 1 |
| | | | | | | This allows importing `map` in other modules, thereby eliminating the need for creating and exporting functions that would be called only once. | |||
* | Minor refactoring. | Guilhem Moulin | 5 days | 1 |
| | ||||
* | Dispose popover/overlay when opening the age filter dialog. | Guilhem Moulin | 5 days | 1 |
| | | | | | We might filter away the feature currently selected so it makes sense to clear the feature list first. | |||
* | Shuffle VBK vindkraftverk layers around. | Guilhem Moulin | 5 days | 1 |
| | | | | To match the ordering from https://vbk.lansstyrelsen.se/ . | |||
* | Refactor popover handling. | Guilhem Moulin | 5 days | 1 |
| | | | | | In particular, make the definition object hierarchical and rename its fields. | |||
* | Factor out Popover handling into separate module. | Guilhem Moulin | 8 days | 1 |
| | ||||
* | ESLint: Fix no-loss-of-precision error. | Guilhem Moulin | 8 days | 1 |
| | | | | Fixes: https://eslint.org/docs/latest/rules/no-loss-of-precision | |||
* | ESLint: Remove unused variables. | Guilhem Moulin | 8 days | 1 |
| | | | | And also fix `isVisible()` along the way. | |||
* | ESLint: Remove useless escapes. | Guilhem Moulin | 8 days | 1 |
| | ||||
* | Move *.css files to ./src. | Guilhem Moulin | 8 days | 1 |
| | ||||
* | ESLint: Remove unused imports. | Guilhem Moulin | 8 days | 1 |
| | ||||
* | Split `layers` object into separate file. | Guilhem Moulin | 8 days | 1 |
| | | | | | | This rather large commit merely moves the object declaration into the new file and adjusts the import declarations accordingly. This will serve as basis for a future refactoring commit. | |||
* | Add comment/warning. | Guilhem Moulin | 8 days | 1 |
| | ||||
* | Ensure age filter only applies to layers which expose the feature. | Guilhem Moulin | 9 days | 1 |
| | ||||
* | Improve wording in layer list. | Guilhem Moulin | 9 days | 1 |
| | ||||
* | Age filter dialog: Improve wording. | Guilhem Moulin | 9 days | 1 |
| | ||||
* | Rename “age” to “ts”. | Guilhem Moulin | 9 days | 1 |
| | | | | Cf. 231d64cbd14c2d1ccb6468dc9666d4433e39834c in tools. | |||
* | Add ability to filter over feature “age”. | Guilhem Moulin | 9 days | 1 |
| | | | | | Right now this is only implemented for avverk, mrr and vbk as other layers don't export the property. | |||
* | Use optional chaining operator (?.). | Guilhem Moulin | 9 days | 1 |
| | | | | | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Optional_chaining That simplifies the logic slightly. | |||
* | Rename #modal-info to #info-modal for consistency. | Guilhem Moulin | 10 days | 1 |
| | ||||
* | Refactor button selection logic. | Guilhem Moulin | 10 days | 1 |
| | | | | Thereby making it easier to extend if needs be. | |||
* | Popover Consolidate building of <a> tags for links. | Guilhem Moulin | 10 days | 1 |
| | ||||
* | Consolidate comparison with undefined/null. | Guilhem Moulin | 10 days | 1 |
| | | | | | | | | | | Replace `a === undefined || a === null` resp. `a !== undefined && a !== null` with `a == null` resp. `a != null`. See https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Equality . Relax also some `=== undefined` and `=== null` into `== null` when that makes sense. | |||
* | Feature fetch: Never pass “fid:undefined” when querying the CGI. | Guilhem Moulin | 10 days | 1 |
| | ||||
* | JS: Minor refactorining of the OL layer creation logic. | Guilhem Moulin | 11 days | 1 |
| | | | | | Also, don't define a projection for raster layers and let OL get it from the source's metadata instead. | |||
* | info-modal: Don't crash for layers with unknown sources or URLs. | Guilhem Moulin | 11 days | 1 |
| | ||||
* | Add a dynamic legend. | Guilhem Moulin | 12 days | 1 |
| | | | | (Long overdue…) | |||
* | typofix | Guilhem Moulin | 12 days | 1 |
| | ||||
* | Fix layer names. | Guilhem Moulin | 12 days | 1 |
| | | | | Regression from 8d03e7794dae3696b0a975477542a4db03136ab7. | |||
* | Add two more nature value layers. | Guilhem Moulin | 12 days | 1 |
| | ||||
* | JS: Refactor layer creation. | Guilhem Moulin | 12 days | 1 |
| | ||||
* | Rename layers for consistency with what's produced by the tooling. | Guilhem Moulin | 12 days | 1 |
| | ||||
* | Add (WIP) WebGL layer for kontinuitetsskog. | Guilhem Moulin | 12 days | 1 |
| | | | | | We rename “vectorLayers” to “mapLayers” as it now contains a raster layer. | |||
* | Add some nature value layers. | Guilhem Moulin | 12 days | 1 |
| | ||||
* | typofix | Guilhem Moulin | 13 days | 1 |
| | ||||
* | Make stroke thinner for layers where the typical geometry is small. | Guilhem Moulin | 13 days | 1 |
| | ||||
* | Move Naturvårdsavtal under Skyddad Natur. | Guilhem Moulin | 13 days | 1 |
| | | | | | | For consistency with Skogsstyrelsens map at https://skogsstyrelsen.se/e-tjanster-och-kartor/karttjanster/skogens-karta/ and https://gisportal.skogsstyrelsen.se/portal/apps/experiencebuilder/experience/?id=0ad7cc88ca6c4f4da49d60bf59a54d1c . | |||
* | Show SvK layers above VBK's. | Guilhem Moulin | 2025-06-05 | 1 |
| | ||||
* | MRR: Fix expiration date for exploration permits. | Guilhem Moulin | 2025-06-05 | 1 |
| | | | | Regression from a5b50cb095c1e63e13beedc6f370932a6cbb56a3. | |||
* | JS: Don't redirect an empty `layers=` parameter to the default layer selection. | Guilhem Moulin | 2025-06-05 | 1 |
| | ||||
* | Update default view. | Guilhem Moulin | 2025-06-05 | 1 |
| | | | | | | | | | Use Lantmäteriet's 'topowebb_nedtonad' basemap, and show some layers. This is more or less what's being linked to at https://www.klimatanalysnorr.se/kartor-2/ . For existing links to the old non-hierarchical names, we simply use the default view instead of trying to map layer names to the new ones. | |||
* | Change layer group/name separator to ‘.’ from ‘_’. | Guilhem Moulin | 2025-06-05 | 1 |
| | | | | The former better indicates hierarchy. | |||
* | Add layers for offshore wind farms. | Guilhem Moulin | 2025-06-05 | 1 |
| | | | | | Colors and tooltips inspired from https://vbk.lansstyrelsen.se/ (like for other VBK layers). | |||
* | JS: Replace some `let`s with `const`s. | Guilhem Moulin | 2025-06-05 | 1 |
| | ||||
* | Improve wording for VBK layer descriptions. | Guilhem Moulin | 2025-06-04 | 1 |
| | ||||
* | Info dialog: Change icon from clock to map. | Guilhem Moulin | 2025-06-04 | 1 |
| |