A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://developers.google.com/android/reference/com/google/android/gms/maps/model/CameraPosition below:

CameraPosition | Google Play services

CameraPosition

Stay organized with collections Save and categorize content based on your preferences.

Nested Class Summary Inherited Constant Summary From interface android.os.Parcelable int CONTENTS_FILE_DESCRIPTOR int PARCELABLE_WRITE_RETURN_VALUE Field Summary public final float bearing Direction that the camera is pointing in, in degrees clockwise from north. public final LatLng target The location that the camera is pointing at. public final float tilt The angle, in degrees, of the camera angle from the nadir (directly facing the Earth). public final float zoom Zoom level near the center of the screen. Public Constructor Summary Public Method Summary Inherited Method Summary From class java.lang.Object Object

clone()

boolean void

finalize()

final Class<?>

getClass()

int

hashCode()

final void

notify()

final void

notifyAll()

String

toString()

final void

wait(long arg0, int arg1)

final void

wait(long arg0)

final void

wait()

From interface android.os.Parcelable abstract int

describeContents()

abstract void writeToParcel

(

Parcel

arg0, int arg1)

Fields public final float bearing

Direction that the camera is pointing in, in degrees clockwise from north.

public final LatLng target

The location that the camera is pointing at.

public final float tilt

The angle, in degrees, of the camera angle from the nadir (directly facing the Earth). See CameraPosition.Builder.tilt(float) for details of restrictions on the range of values.

Public Constructors public CameraPosition (LatLng target, float zoom, float tilt, float bearing)

Constructs a CameraPosition.

Parameters target The target location to align with the center of the screen. Must not be null. zoom Zoom level at target. See CameraPosition.Builder.zoom(float) for details of restrictions. tilt The camera angle, in degrees, from the nadir (directly down). See CameraPosition.Builder.tilt(float) for details of restrictions. bearing Direction that the camera is pointing in, in degrees clockwise from north. This value will be normalized to be within 0 degrees inclusive and 360 degrees exclusive. Public Methods public boolean equals (Object o) public static CameraPosition fromLatLngZoom (LatLng target, float zoom)

Constructs a CameraPosition pointed for a particular target and zoom level. The resultant bearing is North, and the viewing angle is perpendicular to the Earth's surface. i.e., directly facing the Earth's surface, with the top of the screen pointing North.

Parameters target The target location to align with the center of the screen. zoom Zoom level at target. See CameraPosition.Builder.zoom(float) for details on the range the value will be clamped to. The larger the value the more zoomed in the camera is. public void writeToParcel (Parcel out, int flags)

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2024-10-31 UTC.

[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-31 UTC."],[[["`CameraPosition` is an immutable class that holds camera parameters like location, zoom, tilt, and bearing for a map view."],["It's used to control the view of a map, allowing you to position and orient the camera."],["You can create a `CameraPosition` using its builder or directly from latitude, longitude, and zoom level."],["`CameraPosition` is typically used in conjunction with `CameraUpdateFactory` to update the map's view smoothly."],["Developers can find more details in the \"Camera and View\" section of the Google Maps Android API documentation."]]],["`CameraPosition` is an immutable class for managing camera parameters like location, zoom, tilt, and bearing. You construct it using `CameraPosition.Builder` and apply it with `CameraUpdateFactory`. Key actions include creating instances directly, or using builder methods (`builder()`, `builder(CameraPosition)`). It also has methods like `fromLatLngZoom()` to set target and zoom. It has public fields `bearing`, `target`, `tilt`, and `zoom`. The class also contains methods for parcelable operations, comparison, and attribute creation.\n"]]


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4