Yulin-W / making-history-sandbox

Simple, intuitive app using React, Leaflet and other packages for making alternate histories, and or choropleth maps in general. Features include pre-made scenarios, timeline, legend, region information, different background maps and more. Successor to Alternate History Editor.
https://yulin-w.github.io/making-history-sandbox
32 stars 6 forks source link

Blank screen after I try to edit custom map #39

Closed ZeJayee closed 1 year ago

ZeJayee commented 1 year ago

Using geojson, I made a map and when I try to colorize it, the screen just goes blank. Blank Screen.webm

Yulin-W commented 1 year ago

Thanks for bringing this up! I suspect the geojson had a different format to the one the app needs.

I made an update so that it should handle more geojson formats; hopefully that fixes the issue (might need to do a full refresh, e.g. ctrl + F5 on windows, before the change loads)

Try loading the geojson again and coloring. Let me know how it goes.

Side note: the update enables using top left LOAD button to load geojson and save using the geojson (though its fine to use the original side panel for loading too)

ZeJayee commented 1 year ago

It works! Off to editing I go! Thanks for the quick response!