Maps API for JavaScript Developer's Guide

H.mapevents.Behavior.Options

Type Definition Summary

This typedef defines configuration (initialization) properties for the Behavior class.

[ For full details, see the Type Definition Details ]

Property Summary

Table 1. Properties
Properties

kinetics

The parameters for the kinetic movement.

modifierKey

The name of the modifier key to activate alternative behaviour feature (like heading or tilt operation). (e.g. "Alt", "Shift", "Meta", "Control"). If omitted the "Alt" key is used.

enabled

The behavior feature(s) to enable. If omitted, all features are enabled. See H.mapevents.Behavior.Feature for more details about the supported features. To enable multiple features combine them with bitwise OR operator | (e.g. H.mapevents.Behavior.Feature.PANNING | H.mapevents.Behavior.Feature.HEADING).

Type Definition Description

This typedef defines configuration (initialization) properties for the Behavior class.

Property Details

kinetics: {H.util.kinetics.IKinetics=} [optional]

The parameters for the kinetic movement.

modifierKey: {string=} [optional]

The name of the modifier key to activate alternative behaviour feature (like heading or tilt operation). (e.g. "Alt", "Shift", "Meta", "Control"). If omitted the "Alt" key is used.

enabled: {(H.mapevents.Behavior.Feature | H.math.BitMask)=} [optional]

The behavior feature(s) to enable. If omitted, all features are enabled. See H.mapevents.Behavior.Feature for more details about the supported features. To enable multiple features combine them with bitwise OR operator | (e.g. H.mapevents.Behavior.Feature.PANNING | H.mapevents.Behavior.Feature.HEADING).