localeai / covid19-live-visualization

Live visualization of novel corona virus (COVID19) outbreak
https://covid19.locale.ai
MIT License
155 stars 41 forks source link

[BUG] My map doesn't load, just blank. #12

Closed MoreiraTv closed 4 years ago

MoreiraTv commented 4 years ago

My map doesn't load, just blank. image

haxzie commented 4 years ago

Hey @MatheusMoreira0101 Are you running the project locally? Please provide me with more info regarding the following.

MoreiraTv commented 4 years ago

yes, it's running locally chrome version 81.0.4044.138 firefox version 75.0 Operating System Windows 10

haxzie commented 4 years ago

Please double check your .env file for missing MapBox API tokens and please check the console.logs if you can find any issues logged.

MoreiraTv commented 4 years ago

image I managed to solve more I had to add my style in the file DeckGL.vue in line 43, because I was using my token with his style and it was not working, the map appears the layers too, but the api data about the covid numbers does not are updated

MoreiraTv commented 4 years ago

image This image is using the pillow style that came without code!

MoreiraTv commented 4 years ago

What can I do to be able to update as covid api response?

haxzie commented 4 years ago

Hey @MatheusMoreira0101 the data for the app is generated using this https://github.com/haxzie/covid19-layers-api . You can fork this repo and update the data by running npm start and pushing the generated data back to your fork. You might also need to update the env in the app to point to your fork to collect the data.