mapbox-gl-js
mapbox-gl-js copied to clipboard
Fill pattern behaviour
Hello Team,
I am building a map where there are thousands of small polygons, each with a background picture. Tried fill-pattern but this keeps repeating images over different zoom levels.
Just wondering if it is possible to create a new pattern from a sprite image that does not repeat but instead covers the polygon in question?
If not, any suggestion on how to accomplish this?
Thank you!
Can you show a screenshot of what you're trying to accomplish? Not sure I understand how exactly an image would "cover" a polygon. Perhaps simply add an icon layer with icons of different size comparable to the polygon in question?