new Autorotate( [opts])
Parameters:
Name | Type | Argument | Description |
---|---|---|---|
opts |
Mapspace.street.movements.AutorotateOptions |
<optional> |
Object with options as properties. |
- Source:
- mapspace-street/movements/autorotate.js
Extends
Methods
-
initialize()
-
Initializes values to start movement.
- Overrides:
- Source:
- mapspace-street/movements/autorotate.js
-
step(params, currentTime)
-
Modify camera params.
Parameters:
Name Type Description params
Mapspace.street.CameraParameters Camera params.
currentTime
Number Time in milliseconds.
- Overrides:
- Source:
- mapspace-street/movements/autorotate.js
Returns:
New camera params modified.