kartoza / least-cost-electrification-somalia

Global Electrification Platform for Global
1 stars 0 forks source link

GEP Map viewer doesn't render properly in Safari. #53

Open lucernae opened 2 years ago

lucernae commented 2 years ago

The clients heavily uses Safari, so they expect the map client to work in Safari.

We have a weird issue on why the map renders differently in Safari and Firefox, despite using the same filters.

This is in Safari:

image

This is in Firefox:

image

The comparison basically shows that more data is showing in Firefox (the red/orange features). While the Safari map view is more coarse (as if aliased).

In Safari, it is also not quite reliable. Sometimes it render things. Sometimes it is empty. This is some example when it is empty (after doing hard refresh).

image

Checking the network logs doesn't give me much insight. Since even panning the map doesn't show that the map client is requesting anything other than the WMS for the basemap? In firefox, we have bunch of things requested from WMS, WMTS, and mapbox API to request some kind of PBF data.

lucernae commented 2 years ago

Latest update:

@meomancer confirmed that some rendering issue in Safari prevent the the map client to render at the target zoom level, although it renders just fine in Firefox. Proxying the tiles and CORS doesn't help.

Now we are going to check the tile geometry/caches.

MohamudAbdikarim commented 2 years ago

@meomancer Thanks for your comment and the effort you are putting into fixing the issues. We want this to issue to be fixed as soon as possible because it has taken a lot of time.

We want to platform to accept any browser not only Mozilla FireFox.

We need to have a deadline on each maintenance task. When can you finalize troubleshooting the Safari browser render issue.