UNPKG

cordova-plugin-googlemaps

Version:

Google Maps native SDK for Android and iOS, and Google Maps JavaScript API v3 for browser.

21 lines (19 loc) 776 B
/******************************************************************************** * @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;