Closed kevhill closed 1 year ago
By saving the two cases to html and inspecting the results, it seems the culprit the usage of dot notation on accessing object properties. Line 69: ....objects.two-squares
Using bracket notation would have worked fine I guess? ...objects["two-squares"]
.
Hi, can i work on this issue ? I would like to contribute .
@amrutha1098 you are very welcome to! Do you want some pointers? ~I assume this issue is referring to this line: https://github.com/python-visualization/folium/blob/main/folium/features.py#L746.~ It would be nice if you can create a test case that fails given the current code, but passes with the fix you make.
This works just fine in an ipython notebook
but changing the object to include a
-
renders the map, but not the polygonsProblem description
Literally took me 3 hours to diagnose, as the first topojson file I ever tried to render used
-
sExpected Output
Ideal fix would just be to render all objects, as there is no topojson specification that precludes
-
s. Consolation prize would be a friendly error message whenobject_path
contains a-
Output of
folium.__version__
0.5.0