LuciadCPillar 2023.1.04
luciad::MapNavigator::ScaleConstraintOptions Class Referencefinal

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...
 

Detailed Description

Options to configure the scale constraint to restrict the camera zooming.

See MapNavigator::getScaleConstraint for more information.

Since
2021.1

Member Function Documentation

◆ getZoomInLimit()

MapScale luciad::MapNavigator::ScaleConstraintOptions::getZoomInLimit ( ) const

Returns the scale limit for zooming in.

Returns
the scale limit for zooming in.
See also
setZoomInLimit

◆ getZoomOutLimit()

MapScale luciad::MapNavigator::ScaleConstraintOptions::getZoomOutLimit ( ) const

Returns the scale limit for zooming out.

Returns
the scale limit for zooming out.
See also
setZoomOutLimit

◆ setZoomInLimit()

void luciad::MapNavigator::ScaleConstraintOptions::setZoomInLimit ( MapScale  zoomInLimit)

Sets the scale limit for zooming in.

The default value is MapScale::maxZoomedIn().

Parameters
zoomInLimitthe scale limit for zooming in

◆ setZoomOutLimit()

void luciad::MapNavigator::ScaleConstraintOptions::setZoomOutLimit ( MapScale  zoomOutLimit)

Sets the scale limit for zooming out.

The default value is MapScale::maxZoomedOut().

Parameters
zoomOutLimitthe scale limit for zooming out.