Type Definitions
-
experimental olx.animation.BounceOptionsObject
-
Properties:
Name Type Description resolutionnumber The resolution to start the bounce from, typically
map.getView().getResolution().startnumber | undefined The start time of the animation. Default is immediately.
durationnumber | undefined The duration of the animation in milliseconds. Default is
1000.easingfunction The easing function to use. Default is
ol.easing.upAndDown -
experimental olx.animation.PanOptionsObject
-
Properties:
Name Type Description sourceol.Coordinate The location to start panning from, typically
map.getView().getCenter().startnumber | undefined The start time of the animation. Default is immediately.
durationnumber | undefined The duration of the animation in milliseconds. Default is
1000.easingfunction The easing function to use. Default is
ol.easing.inAndOut -
experimental olx.animation.RotateOptionsObject
-
Properties:
Name Type Description rotationnumber | undefined The rotation value (in radians) to begin rotating from, typically
map.getView().getRotation(). Ifundefinedthen0is assumed.anchorol.Coordinate | undefined The rotation center/anchor. The map rotates around the center of the view if unspecified.
startnumber | undefined The start time of the animation. Default is immediately.
durationnumber | undefined The duration of the animation in milliseconds. Default is
1000.easingfunction The easing function to use. Default is
ol.easing.inAndOut -
experimental olx.animation.ZoomOptionsObject
-
Properties:
Name Type Description resolutionnumber number The resolution to begin zooming from, typically
map.getView().getResolution().startnumber | undefined The start time of the animation. Default is immediately.
durationnumber | undefined The duration of the animation in milliseconds. Default is
1000.easingfunction Easing function.
OpenLayers 3