Image inside Polygon #5682
Unanswered
GiovaniValdrighi
asked this question in
Q&A
Replies: 1 comment
-
|
I think maybe you have to extend the SolidPolygonLayer (example here) and modify the fragment shader of that layer to allow you to set A tricky solution might be to use a FillStyleExtension with a huge scale that the pattern doesn't need to be repeated. Hope it helps you to begin with something! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I want to add a image inside a polygon of a GeoJson Layer, it's possible to fill the polygon with a solid color, and I already found the extension FillStyleExtension, but using it I could only fill the polygon with repetitions of the image (as an pattern).
Is there a way to add a image in a polygon and stretch it to fit the polygon?
Beta Was this translation helpful? Give feedback.
All reactions