Skip to content

pmtiles created from polygon not visible #153

Answered by sumew
sumew asked this question in Q&A
Discussion options

You must be logged in to vote

I found the problem. I needed to provide a source-layer property in my layer.

      map.addLayer({
        "id": 'borders',
        "type": 'line',
        "source": 'borders',
        "source-layer": 'borders',
        "layout": { ...},
        "paint": {...}
      });

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@bdon
Comment options

bdon Apr 7, 2023
Maintainer

@sumew
Comment options

@bdon
Comment options

bdon Apr 8, 2023
Maintainer

Comment options

You must be logged in to vote
0 replies
Answer selected by bdon
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