Fullscreen Control#

Example#

from ipyleaflet import Map, FullScreenControl

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

m

Attributes#

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

FullScreenControl class, with Control as parent class.

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