Skip to content
Discussion options

You must be logged in to vote

Running versatiles probe osm.versatiles reveils the meta_data listing all the included vector_layers

I tested using

map.addLayer({
    id: 'hotel-labels',
    type: 'symbol',
    source: 'versatiles-shortbread',
    'source-layer': 'pois',
    filter: ['==', ['get', 'tourism'], 'hotel'],
    layout: {
        'text-field': ['get', 'name'],
        'text-font': ['noto_sans_regular'],
        'text-size': 12
    },
    paint: {
        'text-color': '#d22'
    }
});

map.addLayer({
  id: 'parking-labels',
  type: 'symbol',
  source: 'versatiles-shortbread',
  'source-layer': 'sites',
  filter: ['==', ['get', 'kind'], 'parking'],
  layout: {
    'text-field': 'PARKING',
    'text-font': ['Op…

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@Coding-Kiwi
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by MichaelKreil
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants