Fullscreen Control#

Example#

from ipyleaflet import Map, FullScreenControl

m = Map(zoom=5, center=[51.64, -76.52])
m.add(FullScreenControl())

m

Attributes#

class ipyleaflet.leaflet.FullScreenControl(**kwargs: Any)[source]#

FullScreenControl class, with Control as parent class.

A control which contains a button that will put the Map in full-screen when clicked.