Skip to content

Commit ae8c948

Browse files
committed
Added a short docstring for the highlight function.
1 parent 9b6d149 commit ae8c948

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

folium/features.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -276,6 +276,8 @@ class GeoJson(Layer):
276276
* If str, then data will be passed to the JavaScript as-is.
277277
style_function: function, default None
278278
A function mapping a GeoJson Feature to a style dict.
279+
highlight_function: function, default None
280+
A function mapping a GeoJson Feature to a style dict for mouse over events.
279281
name : string, default None
280282
The name of the Layer, as it will appear in LayerControls
281283
overlay : bool, default False

0 commit comments

Comments
 (0)