Layer not loading in macOS & iOS devices (raster, vector,.. )
laraduarte opened this issue · 5 comments
System: Ipad, iOS 15.6
Browser: Google Chrome
No errors in the console.
https://tentone.github.io/geo-three/index.html
Thank you!
Hello
Can you provide additional detail, is this only specific to the Bing map provider?
What happens on screen?
Thanks a lot!
@tentone any layer!
you can try to preview with browserstack.com
The request tile function is working I can tell by the logs!
Some info regarding errors (tested in different iPad versions)
thanks
@tentone this small change seems to fix it!
I would like to request small changes if that's ok
-
only fetch tile if any of these values is defined if (zoom || x || y) (raster provider) to avoid the error below
-
the request protocol to be // instead of HTTP to avoid warnings when running on an HTTPS connection.
Maybe checking the location.protocol it's a better option -> location.protocol ? 'http' ? 'http' : 'https'
The white tiles are still an issue, I'm not sure why it happens but I will have a closer look at this
Thanks
Wow! Thanks a lot! Do you want to open a PR for this fix or should i update it in the lib?
Thanks a lot!
@tentone please update and release a new version as soon as you can :)
thanks!