CameraUpdateFactory

Package: com.eegeo.mapapi.camera

Factory class for creating CameraUpdate objects. These can then be passed to camera operations on the EegeoMap object.

Methods

CameraUpdate newCameraPosition(CameraPosition cameraPosition)

Creates a CameraUpdate object from an existing CameraPosition.

Returns: A CameraUpdate object which specifies the camera position.

Type argument Description
CameraPosition cameraPosition The CameraPosition to encapsulate.

CameraUpdate newLatLng(LatLng latLng)

Creates a CameraUpdate object from a LatLng location.

Returns: A CameraUpdate object which specifies the camera location.

Type argument Description
LatLng latLng The LatLng location for the camera.

CameraUpdate newLatLngBounds(LatLngBounds bounds, int padding)

Creates a CameraUpdate object from a LatLngBounds area.

Returns: A CameraUpdate object which displays the specified area.

Type argument Description
LatLngBounds bounds The bounds to be displayed.
int padding Unused. For future expansion.
v0.0.1118
Overview Introduction
Picking PickResult
Widgets (Optional) BlueSphere
Tag Service (Optional) TagService OnTagsLoadCompletedListener
RouteView Widget (Optional) RouteView RouteViewOptions