Skip to content

Commit

Permalink
feat: allow to close full screen mode
Browse files Browse the repository at this point in the history
Close #130
  • Loading branch information
paodb authored and javier-godoy committed Jun 11, 2024
1 parent 743b366 commit 3d65ab6
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -841,4 +841,12 @@ public boolean isFullScreen() {
}
}

/**
* Exits the full screen mode on the map.
*/
public void closeFullScreen() {
this.getElement()
.executeJs("document.exitFullscreen();");
}

}

0 comments on commit 3d65ab6

Please sign in to comment.