How to render satellite imagery as a background while keeping layers from a custom map style? #952
Unanswered
victorcg03
asked this question in
Q&A
Replies: 1 comment 3 replies
-
You can direct your |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
❓ How to render satellite imagery as a background while keeping layers from a custom map style?
Hi everyone 👋
I'm working on a React Native app using
maplibre-react-native
and I'm trying to combine a satellite imagery background (from ArcGIS) with a full vector tile style (labels, borders, etc.) defined in a large customroot2.json
style file (35k+ lines).Here is my current setup:
As soon as I add the
RasterSource
, everything from themapStyle
(root2.json
) disappears. I assume it's because the raster layer is rendered on top, and it's not being handled inside the style file.What I would like to achieve is:
root2.json
) on top (city names, boundaries, etc.).Questions:
mapStyle
?mapStyle
automatically or programmatically?Thanks in advance for any help or ideas 🙏
Beta Was this translation helpful? Give feedback.
All reactions