aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFiles
* Move *.css files to ./src.Guilhem Moulin7 days3
|
* ESLint: Remove unused imports.Guilhem Moulin7 days1
|
* Add a `lint` script to npm's package.json.Guilhem Moulin7 days1
| | | | To be used with `npm run lint`.
* Install ESLint in dev mode.Guilhem Moulin7 days3
| | | | Using `npm init @eslint/config@latest`.
* Split `layers` object into separate file.Guilhem Moulin7 days2
| | | | | | 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.
* Run `npm update --save`.Guilhem Moulin7 days1
|
* Add comment/warning.Guilhem Moulin7 days1
|
* Ensure age filter only applies to layers which expose the feature.Guilhem Moulin8 days1
|
* Improve wording in layer list.Guilhem Moulin8 days1
|
* Style: Make text in <p> elements of the age filter dialog selectable.Guilhem Moulin8 days1
|
* Age filter dialog: Improve wording.Guilhem Moulin8 days2
|
* Rename “age” to “ts”.Guilhem Moulin8 days1
| | | | Cf. 231d64cbd14c2d1ccb6468dc9666d4433e39834c in tools.
* Add ability to filter over feature “age”.Guilhem Moulin8 days2
| | | | | Right now this is only implemented for avverk, mrr and vbk as other layers don't export the property.
* Use optional chaining operator (?.).Guilhem Moulin8 days1
| | | | | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Optional_chaining That simplifies the logic slightly.
* info-modal: Show copyright years.Guilhem Moulin8 days1
|
* Rename #modal-info to #info-modal for consistency.Guilhem Moulin9 days3
|
* Info modal: improve CSS and move background stuff at the bottom.Guilhem Moulin9 days2
|
* Refactor button selection logic.Guilhem Moulin10 days1
| | | | Thereby making it easier to extend if needs be.
* CSS: Add 50px to the legend's max-width.Guilhem Moulin10 days1
|
* Popover Consolidate building of <a> tags for links.Guilhem Moulin10 days1
|
* Consolidate comparison with undefined/null.Guilhem Moulin10 days1
| | | | | | | | | | 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 Moulin10 days1
|
* JS: Minor refactorining of the OL layer creation logic.Guilhem Moulin10 days1
| | | | | 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 Moulin10 days1
|
* Add a dynamic legend.Guilhem Moulin11 days2
| | | | (Long overdue…)
* typofixGuilhem Moulin11 days1
|
* Fix layer names.Guilhem Moulin11 days1
| | | | Regression from 8d03e7794dae3696b0a975477542a4db03136ab7.
* Add two more nature value layers.Guilhem Moulin12 days1
|
* JS: Refactor layer creation.Guilhem Moulin12 days1
|
* Rename layers for consistency with what's produced by the tooling.Guilhem Moulin12 days1
|
* Add (WIP) WebGL layer for kontinuitetsskog.Guilhem Moulin12 days1
| | | | | We rename “vectorLayers” to “mapLayers” as it now contains a raster layer.
* Add some nature value layers.Guilhem Moulin12 days1
|
* typofixGuilhem Moulin12 days1
|
* Make stroke thinner for layers where the typical geometry is small.Guilhem Moulin12 days1
|
* Move Naturvårdsavtal under Skyddad Natur.Guilhem Moulin12 days1
| | | | | | 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 Moulin14 days1
|
* MRR: Fix expiration date for exploration permits.Guilhem Moulin14 days1
| | | | Regression from a5b50cb095c1e63e13beedc6f370932a6cbb56a3.
* CSS: Don't hijack pointer events under the layer selection panel.Guilhem Moulin14 days1
| | | | | This completes commit dc6b2e286c8061318325c42d622798bfb8ab8c87 which didn't work on Firefox.
* JS: Don't redirect an empty `layers=` parameter to the default layer selection.Guilhem Moulin14 days1
|
* Update default view.Guilhem Moulin14 days2
| | | | | | | | | 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 Moulin14 days1
| | | | The former better indicates hierarchy.
* Add layers for offshore wind farms.Guilhem Moulin14 days1
| | | | | Colors and tooltips inspired from https://vbk.lansstyrelsen.se/ (like for other VBK layers).
* JS: Replace some `let`s with `const`s.Guilhem Moulin14 days1
|
* Improve wording for VBK layer descriptions.Guilhem Moulin2025-06-041
|
* Info dialog: Change icon from clock to map.Guilhem Moulin2025-06-041
|
* CSS: Don't hijack pointer events under the layer selection panel.Guilhem Moulin2025-06-041
| | | | | | | Previously it was not possible to click under the layer selection panel or legend to highlight a feature or move the map around. Regression from 385373a4a1df0b4505c273db82296073aa82102e.
* Improve CSS rules for #modal-info headings.Guilhem Moulin2025-06-041
|
* info-modal: Fetch source copyright and mtime remotely from metadata.json.Guilhem Moulin2025-06-043
| | | | | | | | | Source URL and copyright information are now defined tools' config.yml. This change exposes MVT creation time as well as source mtime to the info modal. See 052536f62d2e58f6b9b142e035c49cb033458d7f in tools for the generation logic behind metadata.json.
* info modal: Workaround for boostrap bug #41005.Guilhem Moulin2025-06-041
| | | | Bug: https://github.com/twbs/bootstrap/issues/41005#issuecomment-2585390544
* MRR: Drop export_date field.Guilhem Moulin2025-06-041
| | | | Cf. 06adefab34f5a73fc3ae7f587c875dfb353eccfd in tools.