依赖文件
This commit is contained in:
+20
@@ -0,0 +1,20 @@
|
||||
/********************************************************************************
|
||||
* @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;
|
||||
Reference in New Issue
Block a user