Skip to content

Conversation

@pakb
Copy link
Contributor

@pakb pakb commented Jul 4, 2024

@github-actions github-actions bot changed the title [POC] MapLibre layer [POC] MapLibre layer - #minor Jul 4, 2024
@cypress
Copy link

cypress bot commented Jul 4, 2024

web-mapviewer    Run #5605

Run Properties:  status check errored Errored #5605  •  git commit b735ac6747: [POC] MapLibre layer
Project web-mapviewer
Branch Review poc-maplibre-layer
Run status status check errored Errored #5605
Run duration 05m 14s
Commit git commit b735ac6747: [POC] MapLibre layer
Committer Pascal Barth
View all properties for this run ↗︎

Test results
Tests that failed  Failures 38
Tests that were flaky  Flaky 0
Tests that did not run due to a developer annotating a test with .skip  Pending 0
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 0
View all changes introduced in this branch ↗︎

Tests for review

Failed  DropdownButton.cy.ts • 1 failed test • component/chrome/mobile

View Output

Test Artifacts
An uncaught error was detected outside of a test Test Replay Screenshots
Failed  Inputs.cy.ts • 1 failed test • component/chrome/mobile

View Output

Test Artifacts
An uncaught error was detected outside of a test Test Replay Screenshots
Failed  TextSearchMarker.cy.ts • 1 failed test • component/chrome/mobile

View Output

Test Artifacts
An uncaught error was detected outside of a test Test Replay Screenshots
Failed  TextTruncate.cy.ts • 1 failed test • component/chrome/mobile

View Output

Test Artifacts
An uncaught error was detected outside of a test Test Replay Screenshots

@pakb pakb force-pushed the poc-maplibre-layer branch from 9d4476d to ea1d620 Compare August 26, 2024 11:09
@pakb pakb force-pushed the poc-maplibre-layer branch 2 times, most recently from 829e4e2 to 016cc8b Compare September 20, 2024 07:45
@pakb pakb changed the base branch from master to develop September 20, 2024 07:46
@pakb pakb changed the title [POC] MapLibre layer - #minor [POC] MapLibre layer Sep 20, 2024
@pakb pakb force-pushed the poc-maplibre-layer branch 3 times, most recently from 41e4b94 to 1925e79 Compare September 20, 2024 08:15
pakb added a commit to pakb/ol-maplibre-layer that referenced this pull request Jan 8, 2025
give the opportunity to translate the zoom level before giving it to MapLibre. This makes it possible to have OL functioning with a non-Mercator projection system, and still be able to have MapLibre receiving a valid Mercator zoom level to keep the maps in sync.

You can see this code in action here : geoadmin/web-mapviewer#981
where we have our OL instance working in LV95.
@pakb pakb force-pushed the poc-maplibre-layer branch from 1925e79 to 479db78 Compare January 8, 2025 11:15
@pakb pakb force-pushed the poc-maplibre-layer branch 5 times, most recently from 4c32505 to d41c210 Compare January 21, 2025 12:41
@pakb pakb force-pushed the poc-maplibre-layer branch 2 times, most recently from d8ded79 to 75c354f Compare February 21, 2025 06:58
@pakb pakb force-pushed the poc-maplibre-layer branch 4 times, most recently from 36d5d70 to 0a8e960 Compare March 3, 2025 06:55
@pakb pakb force-pushed the poc-maplibre-layer branch from 0a8e960 to 468b890 Compare April 3, 2025 15:48
@pakb pakb force-pushed the poc-maplibre-layer branch from 468b890 to cf589ad Compare April 17, 2025 13:57
pakb added 4 commits August 19, 2025 15:25
each module now only exports one `*.d.ts` file at the root of its dist folder (thanks to @microsoft/api-extractor package, used by unplugin-dts)

Use lib '@tmcw/togeojson' instead of mapbox equivalent

as it comes with type definition for TS

disabling TS option composite for mapviewer, as it breaks Vite alias import (`@/...`) when the TS compiler goes through a JS file. Keeping composite enabled on packages that are already 100% TS, as it works fine in this case
Renames and refactors coordinate utils to improve code organization and clarity.

Adds new extent utilities for coordinate transformations, normalization, and intersection calculations.

These changes lay the groundwork for improved coordinate handling and extent manipulation for our TS migration.
pakb and others added 11 commits August 22, 2025 17:29
also disabling composite on mapviewer package, it doesn't work well when allowJs is true (and with Vite's aliasing)
preparing the way to publish them on our newly created NPMJS registry account

also removing the "id" from package names/folder
and share these configs throughout the monorepo.

This is especially a great improvement for ESLint, which will now run in the scope of each package individually, instead of on the whole monorepo (type-checking took ages when running it like that)
TS should also have a significant boost to perfs when developing in an IDE (as it doesn't think it should be running the whole monorepo at once anymore, each package is "self-contained")
PB-1383: Refactors coordinate utils and move extent utils there
- Issue 1: in the commands.ts file, we handled the booleans wrongly
trying to add them to the viewer only if they were false instead of only when
they are true, which is how it should be.

- Issue 2: We changed the signature of the "goToMapView", and the test methods
were using the old syntax

Fix: We handle booleans correctly and changed the signature.
- Issue: the `goToMapView` and `goToEmbedView` functions have had their signatures changed to use options as parameters, but tests were not changed to reflect those changes.

- Fix: We changed the signature of all those functions.
replaces all BG layers with a VectorTile equivalent
switch to mercator as default projection to make it happen (not possible yet to mix projection systems, needs some work done on the geoblocks/ol-maplibre-layer library)

fix INT staging URL : no sys service serves theses styles yet
update to MapLibre 5.0.0

use dev env
@pakb pakb force-pushed the poc-maplibre-layer branch from 7f9264e to b735ac6 Compare September 11, 2025 14:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants