Files
2025-03-20 17:35:53 +08:00

21 lines
776 B
JavaScript

/********************************************************************************
* @name CameraPosition
* @class This class represents new camera position
* @property {LatLng} target The location where you want to show
* @property {Number} [tilt] View angle
* @property {Number} [zoom] Zoom level
* @property {Number} [bearing] Map orientation
* @property {Number} [duration] The duration of animation
*******************************************************************************/
var CameraPosition = function(params) {
var self = this;
self.zoom = params.zoom;
self.tilt = params.tilt;
self.target = params.target;
self.bearing = params.bearing;
self.hashCode = params.hashCode;
self.duration = params.duration;
};
module.exports = CameraPosition;