Openlayers 3 knows the ol.control.FullScreen() control. When pressed you will get a fullscreen map.
What I would like to know is: to what event should i listen te detect the fullscreen control is pressed?
In this event I would like to do a zoom-to-extent like this:
var extent = source.getExtent(); map.getView().fitExtent(extent, map.getSize());
أكثر...
What I would like to know is: to what event should i listen te detect the fullscreen control is pressed?
In this event I would like to do a zoom-to-extent like this:
var extent = source.getExtent(); map.getView().fitExtent(extent, map.getSize());
أكثر...