# Modules.Map.Camera


Failed to load API docs metadata for type "".

# Overview

Applying a camera to a map has the effect of giving the map a 3D-like appearance. You can use a camera to rotate the map so that it is oriented to match the user's heading or to apply a pitch angle to tilt the plane of the map.

If the app is run on pre iOS 7, camera functionality will not be available. After creating a Camera object, it can be applied to the map by setting the camera property of the map view.

Use the <Modules.Map.createCamera> method to create a camera.

If altitude, eyeCoordinate, and centerCoordinate are passed in on creation, a camera will be returned using the specified viewing angle information.

# Example:

var camera = Map.createCamera({
    altitude: 15.5,
    centerCoordinates: {
        longitude: 151.276417,
        latitude: -33.891614
    heading: 45,
    pitch: 75
mapview.camera = camera;