Skip to content

feat: extra maplibre layers#421

Merged
gadomski merged 1 commit intomainfrom
custom-layer
Apr 30, 2026
Merged

feat: extra maplibre layers#421
gadomski merged 1 commit intomainfrom
custom-layer

Conversation

@gadomski
Copy link
Copy Markdown
Collaborator

To configure:

 <StacMap
      defaultHref={defaultHref}
      auth={auth}
      stacBrowserUrl={stacBrowserUrl}
      extraLayers={[
        {
          layer: {
            id: "oam-global-coverage",
            type: "fill",
            "source-layer": "globalcoverage",
            minzoom: 0,
            maxzoom: 15,
            filter: ["==", ["geometry-type"], "Polygon"],
            paint: {
              "fill-color": "#d43f3f",
              "fill-opacity": 0.2,
              "fill-outline-color": "#d43f3f",
            },
          },
          source: {
            type: "vector",
            url: "pmtiles://https://s3.amazonaws.com/oin-hotosm-temp/global-coverage.pmtiles",
          },
        },
      ]}
      footer={<Footer version={version} changelog={changelog} />}
    />

Got:

Screenshot 2026-04-30 at 13-33-34 stac-map eoAPI-stac

@gadomski gadomski self-assigned this Apr 30, 2026
@github-actions github-actions Bot added the feat label Apr 30, 2026
@gadomski gadomski merged commit 0732eaa into main Apr 30, 2026
4 checks passed
@gadomski gadomski deleted the custom-layer branch April 30, 2026 19:43
gadomski pushed a commit that referenced this pull request Apr 30, 2026
🤖 I have created a release *beep* *boop*
---


##
[2.0.0-alpha.2](v2.0.0-alpha.1...v2.0.0-alpha.2)
(2026-04-30)


### Features

* extra maplibre layers
([#421](#421))
([0732eaa](0732eaa))


### Bug Fixes

* relative heights for app
([#423](#423))
([a5e4b0a](a5e4b0a))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: ds-release-bot[bot] <116609932+ds-release-bot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant