Skip to content
Last updated

API / geotoolkit / scene / ScaleScrollStrategy / ScaleScrollStrategy

Class: ScaleScrollStrategy

scene.ScaleScrollStrategy.ScaleScrollStrategy

Abstraction to formalize an input transformation adjustment

Hierarchy

Table of contents

Constructors
  • [new ScaleScrollStrategy(options)](/solutions/geotoolkit/GeoToolkit_JS/apis/classes/geotoolkit.scene.scalescrollstrategy.scalescrollstrategy.md#new scalescrollstrategy(options))
Methods
Css Properties
Name Type Description
enabledbooleanEnable flag

Contents

Constructors

new ScaleScrollStrategy(options)

• Protected new ScaleScrollStrategy(options?)

Parameters

Name Type
Optional optionsOptions
Methods

adjustTransformation

▸ adjustTransformation(model, newTr): Transformation

Adjusts input transformation

Parameters

Name Type Description
modelAbstractNodemodel
newTrTransformationtransformation to adjust

Returns

Transformation

adjusted transformation


getClassName

▸ getClassName(): string

Returns

string


getProperties

▸ getProperties(): OptionsOut

Gets properties

Returns

OptionsOut

properties


isEnabled

▸ isEnabled(): boolean

Returns enable state

Returns

boolean

enable state


setEnabled

▸ setEnabled(enabled): ScaleScrollStrategy

Set enable state

Parameters

Name Type Description
enabledbooleansets the enabled state

Returns

ScaleScrollStrategy

this


setProperties

▸ setProperties(properties): ScaleScrollStrategy

Sets the projection properties

Parameters

Name Type Description
propertiesOptionsproperties

Returns

ScaleScrollStrategy

this


getClassName

▸ Static getClassName(): string

Returns

string