vasturiano / globe.gl

UI component for Globe Data Visualization using ThreeJS/WebGL
https://vasturiano.github.io/globe.gl/example/world-population/
MIT License
2.06k stars 304 forks source link

globeImageUrl #152

Closed SayedMajid closed 1 year ago

SayedMajid commented 1 year ago

Describe the bug When I pass the file path or the URL to the prop globeImageUrl, it doesn't show the globe. It only shows when I pass the unpkg URL which is commonly used in the codesandbox examples. I'm using Next.js, version 13

Expected behaviour I just wanted to use my own full map Image and render/show it on the screen, unfortunately, it doesn't work other than the unpkg URL

Desktop (please complete the following information):

vasturiano commented 1 year ago

@SayedMajid this should work as long as you set the correct path for your file, and it's in a location that your web server can reach.

SayedMajid commented 1 year ago

Thanks, I tried a few images. It works for some URLs.