Effects plugin API

This reference describes the API of the Effects plugin.

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

Properties

effects:rolloutDuration

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

effects:pullbackDuration

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

Events

effects:onRolloutComplete

Triggered after the rollout animation is complete.

effects:onPullbackComplete

Triggered after the pullback animation is complete.