Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple pbf source or style.json #322

Open
lavrenkov-sketch opened this issue Apr 12, 2021 · 0 comments
Open

Multiple pbf source or style.json #322

lavrenkov-sketch opened this issue Apr 12, 2021 · 0 comments

Comments

@lavrenkov-sketch
Copy link

lavrenkov-sketch commented Apr 12, 2021

Multiple pbf source.
Hello, I would like to know abouth pbf source.
for MapGL component we use style.json source how to display other vector tiles on top of these styles, I tried to add one more style.json on top, but this is a bad idea and simply won't work, I would like to see how non-standard * .pbf tiles can be displayed on top of the finished MapGL map

in original mapbox you could use something like:

"sources": {
  "osm2vectortiles": {
    "type": "vector",
    "url": "https://osm2vectortiles.tileserver.com/v2.json"
  },
  "naturalearth": {
    "type": "vector",
    "maxzoom": 7,
    "tiles": [
       "http://naturalearthtiles.org/tiles/natural_earth.vector/{z}/{x}/{y}.pbf"
    ]
  }
},

roughly speaking, I need to select information from different servers that contain various information (for example, a map of a country, a map of gas pipelines)

@lavrenkov-sketch lavrenkov-sketch changed the title Multiple pbf source Multiple pbf source or style.json Apr 13, 2021
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

No branches or pull requests

1 participant