Effects plugin API

This reference describes the API of the Effects plugin.

The Effects plugin adds "rollout" and "pullback" animations when new layer data is set.

Properties

rolloutDuration

The duration of the map "reveal" animation, in milliseconds.

pullbackDuration

The duration of the map "conceal" animation, in milliseconds.

Events

onRolloutComplete

Triggered after the rollout animation is complete.

onPullbackComplete

Triggered after the pullback animation is complete.