Skip to content

MVTLayer icon not showing without iconSizeMinPixels property #9368

Answered by finico
dhruv4kubra asked this question in Q&A
Discussion options

You must be logged in to vote

https://deck.gl/docs/api-reference/layers/geojson-layer#pointtypeicon-options
according to docs, by default it uses getIconSize: 1 and iconSizeUnits: 'pixels'
you need to provide an getIconSize accessor as number or function

Replies: 1 comment

Comment options

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