new Movement(opts)
Parameters:
Name | Type | Description |
---|---|---|
opts |
Mapspace.street.movements.MovementOptions | Object with options. |
- Source:
- mapspace-street/movements/movement.js
Extends
- ol.Object
Methods
-
initialize()
-
Initializes values to start movement.
- Source:
- mapspace-street/movements/movement.js
-
step(params, currentTime)
-
Modify camera params.
Parameters:
Name Type Description params
Object Camera params.
currentTime
Number Time in milliseconds.
- Source:
- mapspace-street/movements/movement.js
Returns:
New camera params modified.
- Type
- Object