I am attempting to fill a geoJSON mask of New York State with an image. The code below works for using a local image.
`
`
I would like to use this dynamically by using an image fetched from API. However, calling a "url" in "fillPattern" does not work the same way as the "require" on a local png or jpg shown above.
`
`
I have also tried fillPattern: 'url: "https://some-uri.jpg"' as well. Any suggestions? Thanks!
I am attempting to fill a geoJSON mask of New York State with an image. The code below works for using a local image.
`