File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -77,6 +77,17 @@ class Map(LegacyMap):
7777 (going from bottom to top).
7878 control_scale : bool, default False
7979 Whether to add a control scale on the map.
80+ prefer_canvas : bool, default False
81+ Forces Leaflet to use the Canvas back-end (if available) for
82+ vector layers instead of SVG. This can increase performance
83+ considerably in some cases (e.g. many thousands of circle
84+ markers on the map).
85+ no_touch : bool, default False
86+ Forces Leaflet to not use touch events even if it detects them.
87+ disable_3d : bool, default False
88+ Forces Leaflet to not use hardware-accelerated CSS 3D
89+ transforms for positioning (which may cause glitches in some
90+ rare environments) even if they're supported.
8091
8192 Returns
8293 -------
Original file line number Diff line number Diff line change @@ -118,6 +118,17 @@ class LegacyMap(MacroElement):
118118 (going from bottom to top).
119119 control_scale : bool, default False
120120 Whether to add a control scale on the map.
121+ prefer_canvas : bool, default False
122+ Forces Leaflet to use the Canvas back-end (if available) for
123+ vector layers instead of SVG. This can increase performance
124+ considerably in some cases (e.g. many thousands of circle
125+ markers on the map).
126+ no_touch : bool, default False
127+ Forces Leaflet to not use touch events even if it detects them.
128+ disable_3d : bool, default False
129+ Forces Leaflet to not use hardware-accelerated CSS 3D
130+ transforms for positioning (which may cause glitches in some
131+ rare environments) even if they're supported.
121132
122133 Returns
123134 -------
You can’t perform that action at this time.
0 commit comments