tentone/geo-three

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!

IPad Preview (not working)
image

Safari Preview (not working)
image

Android Preview (working)
image

you can try to preview with browserstack.com

The request tile function is working I can tell by the logs!
image

Some info regarding errors (tested in different iPad versions)
image
image
image

thanks

@tentone this small change seems to fix it!

image

I would like to request small changes if that's ok

  1. only fetch tile if any of these values is defined if (zoom || x || y) (raster provider) to avoid the error below
    image

  2. 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'

Requested Changes
image

The white tiles are still an issue, I'm not sure why it happens but I will have a closer look at this
image
image

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!