2D

Navigation

This example shows how you can use the map.mapNavigator to change the center position and the scale of the map. It also shows how you can limit navigation by setting a navigation constraint on the map.

Press the zoom and pan buttons on the map to perform an animated zoom and pan.

Use the dropdown to set a rectangle on the map beyond which you cannot navigate the map. This is useful to limit the map to certain areas.

The river layer is a WMS layer served by LuciadFusion.

---°--'--",----°--'--"
0.0m
100 m
LAYERS
USA Rivers
compass

Navigation

This example shows how you can use the map.mapNavigator to change the center position and the scale of the map. It also shows how you can limit navigation by setting a navigation constraint on the map.

Press the zoom and pan buttons on the map to perform an animated zoom and pan.

Use the dropdown to set a rectangle on the map beyond which you cannot navigate the map. This is useful to limit the map to certain areas.

The river layer is a WMS layer served by LuciadFusion.