We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1f27fc4 commit ac0744bCopy full SHA for ac0744b
folium/features.py
@@ -324,6 +324,9 @@ class GeoJson(Layer):
324
* If dict, then data will be converted to JSON and embedded
325
in the JavaScript.
326
* If str, then data will be passed to the JavaScript as-is.
327
+ * If `__geo_interface__` is available, the `__geo_interface__`
328
+ dictionary will be serialized to JSON and
329
+ reprojected if `to_crs` is available.
330
style_function: function, default None
331
Function mapping a GeoJson Feature to a style dict.
332
highlight_function: function, default None
0 commit comments