LuciadCPillar 2023.1.04
|
Options to configure the scale constraint to restrict the camera zooming. More...
#include <luciad/maps/MapNavigator.h>
Public Member Functions | |
MapScale | getZoomInLimit () const |
Returns the scale limit for zooming in. More... | |
MapScale | getZoomOutLimit () const |
Returns the scale limit for zooming out. More... | |
void | setZoomInLimit (MapScale zoomInLimit) |
Sets the scale limit for zooming in. More... | |
void | setZoomOutLimit (MapScale zoomOutLimit) |
Sets the scale limit for zooming out. More... | |
Options to configure the scale constraint to restrict the camera zooming.
See MapNavigator::getScaleConstraint
for more information.
MapScale luciad::MapNavigator::ScaleConstraintOptions::getZoomInLimit | ( | ) | const |
Returns the scale limit for zooming in.
MapScale luciad::MapNavigator::ScaleConstraintOptions::getZoomOutLimit | ( | ) | const |
Returns the scale limit for zooming out.
void luciad::MapNavigator::ScaleConstraintOptions::setZoomInLimit | ( | MapScale | zoomInLimit | ) |
Sets the scale limit for zooming in.
The default value is MapScale::maxZoomedIn()
.
zoomInLimit | the scale limit for zooming in |
void luciad::MapNavigator::ScaleConstraintOptions::setZoomOutLimit | ( | MapScale | zoomOutLimit | ) |
Sets the scale limit for zooming out.
The default value is MapScale::maxZoomedOut()
.
zoomOutLimit | the scale limit for zooming out. |