pysepal.mapping.zoom_control.ZoomControl#
- class pysepal.mapping.zoom_control.ZoomControl(*args, **kwargs)[source]#
Customized
Controlto zoom in and out on the map.Replace the built-in zoom control of ipyleaflet to match the theme of sepal-ui based applications. It is by default positioned in the top-right corner
- Parameters:
m (Map | None) – the map to manipulate
kwargs – any
ipyleaflet.widgetControlarguments
Attributes
mthe map to manipulate
minusthe minus btn
plusThe plus btn
Methods
- ZoomControl.__init__(m, **kwargs)[source]#
Customized
Controlto zoom in and out on the map.Replace the built-in zoom control of ipyleaflet to match the theme of sepal-ui based applications. It is by default positioned in the top-right corner
- Parameters:
m (Map) – the map to manipulate
kwargs – any
ipyleaflet.widgetControlarguments
- Return type:
None