| Commit message (Collapse) | Author | Age | Files |
| |
|
|
|
|
| |
Cf. 231d64cbd14c2d1ccb6468dc9666d4433e39834c in tools.
|
|
|
|
|
| |
Right now this is only implemented for avverk, mrr and vbk as other
layers don't export the property.
|
|
|
|
|
| |
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Optional_chaining
That simplifies the logic slightly.
|
| |
|
|
|
|
| |
Thereby making it easier to extend if needs be.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
Also, don't define a projection for raster layers and let OL get it from
the source's metadata instead.
|
| |
|
|
|
|
| |
(Long overdue…)
|
| |
|
|
|
|
| |
Regression from 8d03e7794dae3696b0a975477542a4db03136ab7.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
We rename “vectorLayers” to “mapLayers” as it now contains a raster
layer.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
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 .
|
| |
|
|
|
|
| |
Regression from a5b50cb095c1e63e13beedc6f370932a6cbb56a3.
|
| |
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
The former better indicates hierarchy.
|
|
|
|
|
| |
Colors and tooltips inspired from https://vbk.lansstyrelsen.se/ (like
for other VBK layers).
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Bug: https://github.com/twbs/bootstrap/issues/41005#issuecomment-2585390544
|
|
|
|
| |
Cf. 06adefab34f5a73fc3ae7f587c875dfb353eccfd in tools.
|
| |
|
| |
|
|
|
|
| |
There is no need to pre-generate and cache the HTML for all features.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
Cf. 527fdfd1e46d66007758861dd0decf9c03043d0a in tools.
|
|
|
|
| |
Cf. 990978c7403ca58956c131dc7992ff113ea04ea6 in tools.
|
|
|
|
| |
Cf. 981a97c572ee064b4f3ade5d1fc9e5c4397701ff in tools.
|
|
|
|
|
|
|
| |
We now query a CGI to retrieve feature properties and full geometries
(as GeoJSON).
This partially reverts commit 1c0748176997d2e915faae3c6fcf5634f4fb0582.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
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 .
|