You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Fullscreen Control in `ipyopenlayers` allows users to toggle the map view between fullscreen and windowed modes. This control enhances the user experience by providing an easy way to expand the map to occupy the entire screen.
6
+
7
+
8
+
Example
9
+
-------
10
+
11
+
12
+
.. jupyter-execute::
13
+
14
+
15
+
from ipyopenlayers import Map, FullScreen, RasterTileLayer
16
+
17
+
18
+
# Create a map with initial zoom level and center coordinates
Controls provide interactive elements on a map that allow users to manipulate the map view or access additional functionalities. These controls can include zoom buttons, layer switches, and other user interface elements that enhance the usability and functionality of the map.
The Mouse Position Control in `ipyopenlayers` shows the geographical coordinates of the mouse pointer on the map. This control is useful for users who need to know the precise location of their cursor within the map view.
6
+
7
+
8
+
Example
9
+
-------
10
+
11
+
12
+
.. jupyter-execute::
13
+
14
+
15
+
from ipyopenlayers import Map, MousePosition, RasterTileLayer
16
+
17
+
18
+
# Create a map with initial zoom level and center coordinates
The Scaleline Control in `ipyopenlayers` displays a scale line on the map, providing users with a visual reference for the map's scale. This helps users to understand the distances represented on the map at the current zoom level.
6
+
7
+
8
+
Example
9
+
-------
10
+
11
+
12
+
.. jupyter-execute::
13
+
14
+
15
+
from ipyopenlayers import Map, ScaleLine, RasterTileLayer
16
+
17
+
18
+
# Create a map with initial zoom level and center coordinates
0 commit comments