Bumps [maplibre-gl](https://github.com/maplibre/maplibre-gl-js) from 6.10.0 to 6.11.2. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/maplibre/maplibre-gl-js/releases">maplibre-gl's releases</a>.</em></p> <blockquote> <h2>v6.11.2</h2> <h3>✨ Features and improvements</h3> <ul> <li>Improve rendering performance by uploading each tile's projection data once per frame instead of before every draw call (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/8545">#8545</a>) (by <a href="https://github.com/birkskyum"><code>@birkskyum</code></a>)</li> <li>Support multiple glyph variants in requests, caches, and atlases (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/8488">#8488</a>) (by <a href="https://github.com/NEKOYASAN"><code>@NEKOYASAN</code></a>)</li> </ul> <h3>🐞 Bug fixes</h3> <ul> <li>Fix <code>Map#once(type, layerId, listener)</code> unsubscribing on the first event that misses the layer instead of the first event that hits it (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/8499">#8499</a>) (by <a href="https://github.com/cherenkov"><code>@cherenkov</code></a>)</li> <li>Remove hillshade gradient toward the poles (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/8551">#8551</a>) (by <a href="https://github.com/birkskyum"><code>@birkskyum</code></a>)</li> <li>Fix camera settings being undone during camera movement with terrain or <code>transformCameraUpdate</code> (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/8550">#8550</a>) (by <a href="https://github.com/birkskyum"><code>@birkskyum</code></a>)</li> <li>Fix zooming and panning with the pointer above the horizon moving the map in the opposite direction (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/8544">#8544</a>) (by <a href="https://github.com/birkskyum"><code>@birkskyum</code></a>)</li> <li>Fix the camera jumping when a drag over terrain ends at a pitch above 84° (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/8541">#8541</a>) (by <a href="https://github.com/birkskyum"><code>@birkskyum</code></a>)</li> <li>Ease the center elevation over terrain during <code>easeTo</code> and <code>flyTo</code> instead of holding it and jumping when the animation ends (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/8543">#8543</a>) (by <a href="https://github.com/johncarmack1984"><code>@johncarmack1984</code></a>)</li> <li>Fix <code>fitBounds</code> and <code>cameraForBounds</code> throwing on the globe projection when the padding exceeds the viewport, instead of warning and returning <code>undefined</code> as on mercator (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/8538">#8538</a>) (by <a href="https://github.com/drakeo338"><code>@drakeo338</code></a>)</li> <li>Keep raster tiles sharp at a fractional <code>devicePixelRatio</code>, where the canvas covered a different number of device pixels than its backing store held and the compositor rescaled it (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/1590">#1590</a>) (by <a href="https://github.com/zdila"><code>@zdila</code></a>)</li> </ul> <h2>v6.11.1</h2> <h3>🐞 Bug fixes</h3> <ul> <li>Fix missing promoteId when merging queued updateData diffs in geojson source (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/8500">#8500</a>) (by <a href="https://github.com/cherenkov"><code>@cherenkov</code></a>)</li> <li>Sanitize attribution with an allow list of tags and attributes rather than a list of known-dangerous ones (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/8532">#8532</a>) (by <a href="https://github.com/HarelM"><code>@HarelM</code></a>)</li> <li>Fix the camera jumping or bobbing around gestures over terrain, and ignoring terrain that loads after <code>easeTo</code>/<code>flyTo</code> (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/8471">#8471</a>) (by <a href="https://github.com/johncarmack1984"><code>@johncarmack1984</code></a>)</li> <li>Stop sending a vector tile to the worker when it was dropped while its request was being transformed or while the worker was still starting up, which left the parsed tile in the worker for the lifetime of the map (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/8516">#8516</a>) (by <a href="https://github.com/cherenkov"><code>@cherenkov</code></a>)</li> </ul> <h2>v6.11.0</h2> <h3>✨ Features and improvements</h3> <ul> <li>Fire a <code>contextmenu</code> map event on long press for touch devices (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/373">#373</a>) (by <a href="https://github.com/kirthi-b"><code>@kirthi-b</code></a>)</li> <li>Transition paint, light and sky properties that read <code>global-state</code> from the value they had when the state changes, where they snapped to the new value while holding <code>idle</code> for the transition duration (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/8395">#8395</a>) (by <a href="https://github.com/avosa"><code>@avosa</code></a>)</li> <li>Speed up cross-tile symbol matching for sources with <code>promoteId</code> by keying symbols on their feature id as well as their label (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/8470">#8470</a>, continues <a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/7665">#7665</a>) (by <a href="https://github.com/bradymadden97"><code>@bradymadden97</code></a> and <a href="https://github.com/johncarmack1984"><code>@johncarmack1984</code></a>)</li> <li>Add <code>Map#calculateAnchoredCameraOptions</code> to calculate camera options that place a geographic anchor at a screen position without moving the map (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/8288">#8288</a>) (by <a href="https://github.com/xavierjs"><code>@xavierjs</code></a>)</li> <li>Skip the loaded-tile scan for constant <code>symbol-height-offset</code> layers when computing tile coverage (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/8424">#8424</a>) (by <a href="https://github.com/clement-igonet"><code>@clement-igonet</code></a>)</li> <li>Type and document that an <code>addProtocol</code> handler may return an <code>ImageBitmap</code> or <code>HTMLImageElement</code> for an image resource, so decoded pixels are not encoded and decoded again (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/8515">#8515</a>) (by <a href="https://github.com/MannXo"><code>@MannXo</code></a>)</li> </ul> <h3>🐞 Bug fixes</h3> <ul> <li>Fade the globe atmosphere in with the camera's altitude, so the sky keeps the horizon until the atmosphere takes over from space (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/8464">#8464</a>) (by <a href="https://github.com/birkskyum"><code>@birkskyum</code></a>)</li> <li>Report worker script failures through the map <code>error</code> event (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/8018">#8018</a>) (by <a href="https://github.com/xavierjs"><code>@xavierjs</code></a>)</li> <li>Fix slow panning and zooming in Firefox on macOS since 6.8.0 (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/8468">#8468</a>) (by <a href="https://github.com/timsluis"><code>@timsluis</code></a> and <a href="https://github.com/birkskyum"><code>@birkskyum</code></a>)</li> <li>Keep source-specific tile LOD settings from changing internal terrain render-to-texture tile selection (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/8048">#8048</a>) (by <a href="https://github.com/DoFabien"><code>@DoFabien</code></a>)</li> <li>Fix <code>map.setSky()</code> silently keeping the old sky and firing no <code>error</code> event when the value included a <code>-transition</code> key (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/8375">#8375</a>) (by <a href="https://github.com/Yasser-Ameur"><code>@Yasser-Ameur</code></a>)</li> <li>Fix markers and popups misplaced after a projection change or by terrain that loads after the map settled. (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/8433">#8433</a>) (by <a href="https://github.com/patte"><code>@patte</code></a>)</li> <li>Insert sanitized attribution HTML as DOM nodes instead of re-parsing a serialized string (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/8528">#8528</a>) (by <a href="https://github.com/cherenkov"><code>@cherenkov</code></a>)</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/maplibre/maplibre-gl-js/blob/main/CHANGELOG.md">maplibre-gl's changelog</a>.</em></p> <blockquote> <h2>6.11.2</h2> <h3>✨ Features and improvements</h3> <ul> <li>Improve rendering performance by uploading each tile's projection data once per frame instead of before every draw call (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/8545">#8545</a>) (by <a href="https://github.com/birkskyum"><code>@birkskyum</code></a>)</li> <li>Support multiple glyph variants in requests, caches, and atlases (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/8488">#8488</a>) (by <a href="https://github.com/NEKOYASAN"><code>@NEKOYASAN</code></a>)</li> </ul> <h3>🐞 Bug fixes</h3> <ul> <li>Fix <code>Map#once(type, layerId, listener)</code> unsubscribing on the first event that misses the layer instead of the first event that hits it (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/8499">#8499</a>) (by <a href="https://github.com/cherenkov"><code>@cherenkov</code></a>)</li> <li>Remove hillshade gradient toward the poles (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/8551">#8551</a>) (by <a href="https://github.com/birkskyum"><code>@birkskyum</code></a>)</li> <li>Fix camera settings being undone during camera movement with terrain or <code>transformCameraUpdate</code> (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/8550">#8550</a>) (by <a href="https://github.com/birkskyum"><code>@birkskyum</code></a>)</li> <li>Fix zooming and panning with the pointer above the horizon moving the map in the opposite direction (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/8544">#8544</a>) (by <a href="https://github.com/birkskyum"><code>@birkskyum</code></a>)</li> <li>Fix the camera jumping when a drag over terrain ends at a pitch above 84° (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/8541">#8541</a>) (by <a href="https://github.com/birkskyum"><code>@birkskyum</code></a>)</li> <li>Ease the center elevation over terrain during <code>easeTo</code> and <code>flyTo</code> instead of holding it and jumping when the animation ends (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/8543">#8543</a>) (by <a href="https://github.com/johncarmack1984"><code>@johncarmack1984</code></a>)</li> <li>Fix <code>fitBounds</code> and <code>cameraForBounds</code> throwing on the globe projection when the padding exceeds the viewport, instead of warning and returning <code>undefined</code> as on mercator (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/8538">#8538</a>) (by <a href="https://github.com/drakeo338"><code>@drakeo338</code></a>)</li> <li>Keep raster tiles sharp at a fractional <code>devicePixelRatio</code>, where the canvas covered a different number of device pixels than its backing store held and the compositor rescaled it (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/1590">#1590</a>) (by <a href="https://github.com/zdila"><code>@zdila</code></a>)</li> </ul> <h2>6.11.1</h2> <h3>🐞 Bug fixes</h3> <ul> <li>Fix missing promoteId when merging queued updateData diffs in geojson source (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/8500">#8500</a>) (by <a href="https://github.com/cherenkov"><code>@cherenkov</code></a>)</li> <li>Sanitize attribution with an allow list of tags and attributes rather than a list of known-dangerous ones (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/8532">#8532</a>) (by <a href="https://github.com/HarelM"><code>@HarelM</code></a>)</li> <li>Fix the camera jumping or bobbing around gestures over terrain, and ignoring terrain that loads after <code>easeTo</code>/<code>flyTo</code> (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/8471">#8471</a>) (by <a href="https://github.com/johncarmack1984"><code>@johncarmack1984</code></a>)</li> <li>Stop sending a vector tile to the worker when it was dropped while its request was being transformed or while the worker was still starting up, which left the parsed tile in the worker for the lifetime of the map (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/8516">#8516</a>) (by <a href="https://github.com/cherenkov"><code>@cherenkov</code></a>)</li> </ul> <h2>6.11.0</h2> <h3>✨ Features and improvements</h3> <ul> <li>Fire a <code>contextmenu</code> map event on long press for touch devices (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/373">#373</a>) (by <a href="https://github.com/kirthi-b"><code>@kirthi-b</code></a>)</li> <li>Transition paint, light and sky properties that read <code>global-state</code> from the value they had when the state changes, where they snapped to the new value while holding <code>idle</code> for the transition duration (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/8395">#8395</a>) (by <a href="https://github.com/avosa"><code>@avosa</code></a>)</li> <li>Speed up cross-tile symbol matching for sources with <code>promoteId</code> by keying symbols on their feature id as well as their label (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/8470">#8470</a>, continues <a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/7665">#7665</a>) (by <a href="https://github.com/bradymadden97"><code>@bradymadden97</code></a> and <a href="https://github.com/johncarmack1984"><code>@johncarmack1984</code></a>)</li> <li>Add <code>Map#calculateAnchoredCameraOptions</code> to calculate camera options that place a geographic anchor at a screen position without moving the map (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/8288">#8288</a>) (by <a href="https://github.com/xavierjs"><code>@xavierjs</code></a>)</li> <li>Skip the loaded-tile scan for constant <code>symbol-height-offset</code> layers when computing tile coverage (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/8424">#8424</a>) (by <a href="https://github.com/clement-igonet"><code>@clement-igonet</code></a>)</li> <li>Type and document that an <code>addProtocol</code> handler may return an <code>ImageBitmap</code> or <code>HTMLImageElement</code> for an image resource, so decoded pixels are not encoded and decoded again (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/8515">#8515</a>) (by <a href="https://github.com/MannXo"><code>@MannXo</code></a>)</li> </ul> <h3>🐞 Bug fixes</h3> <ul> <li>Fade the globe atmosphere in with the camera's altitude, so the sky keeps the horizon until the atmosphere takes over from space (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/8464">#8464</a>) (by <a href="https://github.com/birkskyum"><code>@birkskyum</code></a>)</li> <li>Report worker script failures through the map <code>error</code> event (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/8018">#8018</a>) (by <a href="https://github.com/xavierjs"><code>@xavierjs</code></a>)</li> <li>Fix slow panning and zooming in Firefox on macOS since 6.8.0 (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/8468">#8468</a>) (by <a href="https://github.com/timsluis"><code>@timsluis</code></a> and <a href="https://github.com/birkskyum"><code>@birkskyum</code></a>)</li> <li>Keep source-specific tile LOD settings from changing internal terrain render-to-texture tile selection (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/8048">#8048</a>) (by <a href="https://github.com/DoFabien"><code>@DoFabien</code></a>)</li> <li>Fix <code>map.setSky()</code> silently keeping the old sky and firing no <code>error</code> event when the value included a <code>-transition</code> key (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/8375">#8375</a>) (by <a href="https://github.com/Yasser-Ameur"><code>@Yasser-Ameur</code></a>)</li> <li>Fix markers and popups misplaced after a projection change or by terrain that loads after the map settled. (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/8433">#8433</a>) (by <a href="https://github.com/patte"><code>@patte</code></a>)</li> <li>Insert sanitized attribution HTML as DOM nodes instead of re-parsing a serialized string (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/pull/8528">#8528</a>) (by <a href="https://github.com/cherenkov"><code>@cherenkov</code></a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/maplibre/maplibre-gl-js/commit/acb7b722f6a752ac1a2ba98cf83006c83dc4fafa"><code>acb7b72</code></a> Bump js version to 6.11.2 (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/8555">#8555</a>)</li> <li><a href="https://github.com/maplibre/maplibre-gl-js/commit/d28f8443e207be1b54669798b809d731070932b9"><code>d28f844</code></a> fix: Map#once with layerId unsubscribes only after a real hit (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/8499">#8499</a>)</li> <li><a href="https://github.com/maplibre/maplibre-gl-js/commit/99d0160b018e31dbe5ceba71b79806b36fc0d2ef"><code>99d0160</code></a> Support multiple glyph variants (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/8488">#8488</a>)</li> <li><a href="https://github.com/maplibre/maplibre-gl-js/commit/98268d3829222064b81b8bfa112baf446ac32cf4"><code>98268d3</code></a> Fix globe cameraForBoxAndBearing throwing when padding exceeds the viewport (...</li> <li><a href="https://github.com/maplibre/maplibre-gl-js/commit/f560a83ac3491086024967fbf8cc0503eae3a76d"><code>f560a83</code></a> Size the canvas to whole device pixels (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/8513">#8513</a>)</li> <li><a href="https://github.com/maplibre/maplibre-gl-js/commit/7a897d0b0db6a2bb4b9eae54e0b2b54896af63f1"><code>7a897d0</code></a> Remove hillshade gradient toward the poles (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/8551">#8551</a>)</li> <li><a href="https://github.com/maplibre/maplibre-gl-js/commit/0dff33ab118c6d8ea41f7d9d30e0df9d4acf9ea3"><code>0dff33a</code></a> Fix camera settings being undone during camera movement (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/8550">#8550</a>)</li> <li><a href="https://github.com/maplibre/maplibre-gl-js/commit/c2031bfb2bf54ee866fcb68bad5b149646a2f4b1"><code>c2031bf</code></a> GM2.8 Upload projection data once per tile instead of once per draw (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/8545">#8545</a>)</li> <li><a href="https://github.com/maplibre/maplibre-gl-js/commit/728a44c08bdd55ca06f601edd1dbf334159fc99e"><code>728a44c</code></a> Fix zoom and drag above the horizon moving the map the wrong way (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/8544">#8544</a>)</li> <li><a href="https://github.com/maplibre/maplibre-gl-js/commit/3dfdce0b796e27715a51d9c314448be9f6fd9efb"><code>3dfdce0</code></a> refactor: one method builds the mercator animation's end transform (<a href="https://redirect.github.com/maplibre/maplibre-gl-js/issues/8546">#8546</a>)</li> <li>Additional commits viewable in <a href="https://github.com/maplibre/maplibre-gl-js/compare/v6.10.0...v6.11.2">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Maputnik
A free and open visual editor for the MapLibre GL styles targeted at developers and map designers.
Usage
- 🔗 Design your maps online at https://www.maplibre.org/maputnik/ (all in local storage)
- 🔗 Use the Maputnik CLI for local style development
- In a Docker, run this command and browse to http://localhost:8888, Ctrl+C to stop the server.
docker run -it --rm -p 8888:8000 ghcr.io/maplibre/maputnik:main
To see the CLI options (for example file watching or style serving) run:
docker run -it --rm -p 8888:8000 ghcr.io/maplibre/maputnik:main --help
You might need to mount a volume (-v) to be able to use these options.
Documentation
The documentation can be found in the Wiki. You are welcome to collaborate!
- 🔗 Study the Maputnik Wiki
- 📹 Design a map from Scratch https://youtu.be/XoDh0gEnBQo
Develop
Maputnik is written in typescript and is using React and MapLibre GL JS.
We ensure building and developing Maputnik works with the current active LTS Node.js version and above.
Check out our Internationalization guide for UI text related changes.
Getting Involved
Join the #maplibre or #maputnik slack channel at OSMUS: get an invite at https://slack.openstreetmap.us/ Read the the below guide in order to get familiar with how we do things around here.
Install the deps, start the dev server and open the web browser on http://localhost:8888/.
# install dependencies
npm install
# start dev server
npm run start
If you want Maputnik to be accessible externally use the --host option:
# start externally accessible dev server
npm run start -- --host 0.0.0.0
The build process will watch for changes to the filesystem, rebuild and autoreload the editor.
npm run build
Lint the JavaScript code.
# run linter
npm run lint
npm run lint-css
npm run sort-styles
Tests
End-to-end tests
For E2E testing we use Playwright. The tests live in the e2e directory and drive the app through the MaputnikDriver page object.
The first time you run the tests, install the browser:
npx playwright install chromium
Playwright automatically starts the dev server (npm run start) for you, so you can just run:
npm run test
Some useful options:
# see the tests run in a headed browser
npm run test -- --headed
# run a single spec / filter by title
npm run test -- e2e/map.spec.ts
npm run test -- -g "zoom level"
# open the interactive UI mode
npx playwright test --ui
Running the E2E tests also produces a code-coverage report in coverage/ (collected via istanbul instrumentation of the dev server).
Unit & component tests
Unit tests and component tests run with Vitest; component tests (*.browser.test.tsx) use Vitest's browser mode with the Playwright provider.
npm run test-unit
Release process
- Review
CHANGELOG.md- Double-check that all changes included in the release are appropriately documented.
- To-be-released changes should be under the "main" header.
- Commit any final changes to the changelog.
- Run Create bump version PR by manual workflow dispatch and set the version number in the input. This will create a PR that changes the changelog and
package.jsonfile to review and merge. - Once merged, an automatic process will kick in and creates a GitHub release and uploads release assets.
Sponsors
Thanks to the supporters of the Kickstarter campaign. This project would not be possible without these commercial and individual sponsors. You can see this file's history for previous sponsors of the original Maputnik repo. Read more about the MapLibre Sponsorship Program at https://maplibre.org/sponsors/.
License
Maputnik is licensed under MIT and is Copyright (c) Lukas Martinelli and Maplibre contributors. As contributor please take extra care of not violating any Mapbox trademarks. Do not get inspired by other map studios and make your own decisions for a good style editor.
