MapScene.CreateFromCamera(MapCamera) MapScene.CreateFromCamera(MapCamera) MapScene.CreateFromCamera(MapCamera) MapScene.CreateFromCamera(MapCamera) Method

Definition

Creates a scene to appear in a map based on the position of the specified MapCamera.

public : static MapScene CreateFromCamera(MapCamera camera)
static MapScene CreateFromCamera(MapCamera camera) const;
public static MapScene CreateFromCamera(MapCamera camera)
Public Shared Function CreateFromCamera(camera As MapCamera) As MapScene

Parameters

camera
MapCamera MapCamera

The current position of the specified camera.

Returns

Represents a view of a map in the MapControl.

Remarks

The following image demonstrates the location of the map's camera relative to the scene.

The relationship between MapCamera location and MapScene location relative to the map.