HuidaeCho / covid-19

Open source web map for tracking COVID-19 global cases
GNU Affero General Public License v3.0
22 stars 17 forks source link

Data and Map not showing #11

Closed javierconcha closed 4 years ago

javierconcha commented 4 years ago

Hello Huidae, For some reason, the maps and numbers are not showing on your website. The same is happening in my mine. Do you know why?

HuidaeCho commented 4 years ago

It's working right now. It can be slow because of the size of data.

javierconcha commented 4 years ago

It is really weird because it is indeed working for my users but the map and data do not load in any of my machines nor in my cell phone. I tried in different browsers as well (Chrome and Safari).

HuidaeCho commented 4 years ago

Please check your dev console in the browser. You can see any error messages from Javascript, if any.

javierconcha commented 4 years ago

I will check that later.

As for now, I continue having the same problem. I have checked with people in Italy and they have the same problem. People in Chile can see it correctly though. I'm wondering if it is a region issue with logging/downloading/retrieving the map. Same behavior for your website and mine in Italy and Germany.

javierconcha commented 4 years ago

From my dev console in Chrome:

Uncaught ReferenceError: $ is not defined at ol-ext.min.js:9 index.html:532 Uncaught TypeError: ol.Overlay.Popup is not a constructor at index.html:532 DevTools failed to load SourceMap: Could not load content for chrome-extension://hdokiejnpimakedhajhdlcegeplioahd/sourcemaps/onloadwff.js.map: HTTP error: status code 404, net::ERR_UNKNOWN_URL_SCHEME

HuidaeCho commented 4 years ago

Getting the same error here. I think ol-ext.min.js is somehow broken. I may have to copy their previous version locally.

HuidaeCho commented 4 years ago

Fixed in my repo. You need to download https://github.com/Viglino/ol-ext/archive/v3.1.11.zip and uncompress it in the same folder as *.html.

HuidaeCho commented 4 years ago

Please check it again. It wasn't a good idea to use their dev version of the script.

javierconcha commented 4 years ago

Issue solved! Thanks!