Class nokia.maps.map.component.panning.KineticMovement
This class represents the state of a kinetic movement as returned by the method
startMovement() of nokia.maps.map.component.panning.Kinetic.
A kinetic movement consists of two phases: move and slide. In the first, each move
of the map is recorded (duration and direciton), in the second, the map has been released,
but continues to move at a diminishing speed in the previously recorded direction until
it stops.
KineticMovement has been aborted, so the slide phase did not occur or was not completed (true).
KineticMovement has finished (true) or not (false).
maxFps.
fraction is applied to map movment speed in the slide phase.
map.Display instance to which the given component belongs.
fraction.
fraction.
KineticMovement is in the move phase (true) or not (false).
KineticMovement.
KineticMovement is in the slide phase (true) or not (false).
KineticMovement
has been aborted, so the slide phase did not occur or was not completed
(true). If the kinetic movement has not been aborted, the property
holds the value of false.
It is possible to observe this property to detect if a movement is disabled
by another one. You can re-enable the movement by setting the property
nokia.maps.map.component.panning.Kinetic#current back to it,
but be aware that endless recursion may result if another component attempts
to this at the same time.
Another possibility is to observe the current property of the
owning kinetic component when a kinetic movement is disabled and attempt to
recover the desired kinetic movement as soon as current becomes
null.
KineticMovement
has finished (true) or not (false).
maxFps.
stopSpeed is relatively
unimportant.
fraction
is applied to map movment speed in the slide phase. By default, this occurs 15
times per second (15 Hz). The lower the value of fraction, the
more linear the frequency and the less smooth the deceleration, conversely, the
higher the fraction value, the more realistic the sliding movement.
However, a frame rate below the fraction frequency leads to a
jerky sliding movement. The higher the fraction frequency, the
smaller the fraction effect, so reducing the fraction frequency
parallel a reduction in the value of fraction itself.
fraction. Note that the property has
no effect to the real movement speed of the map.
Note that to modify maxSpeed, you must first overload the
method updateSpeedLimits(), which updates maxSpeed
in every frame.
fraction. Note that the property has
no effect to the real movement speed of the map.
Note that to modify minSpeed, you must first overload the
method updateSpeedLimits(), which updates minSpeed
in every frame.
KineticMovement
is in the move phase (true) or not (false).
KineticMovement.
KineticMovement
is in the slide phase (true) or not (false).
Note that to modify stopSpeed you must first overload the
method updateSpeedLimits(), which updates stopSpeed
in every frame.
