Package | Description |
---|---|
com.here.android.mpa.mapping |
The mapping
package provides classes, interfaces, and enumerations that display an
interactive map, and related functionality that allows your application
to create and add map content.
|
Modifier and Type | Method and Description |
---|---|
static Map.Animation |
Map.Animation.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Map.Animation[] |
Map.Animation.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
Map.setCenter(GeoCoordinate point,
Map.Animation animation)
|
void |
Map.setCenter(GeoCoordinate point,
Map.Animation animation,
double level,
float orientation,
float tilt)
Moves the center of this
Map to a specific
GeoCoordinate , while simultaneously setting
a zoom level (a fraction within the range of minimum and maximum levels), orientation (from 0
degrees to 360 degrees), and tilt (within the range of minimum and maximum tilt angles). |
void |
Map.setCenter(android.graphics.PointF newCenter,
Map.Animation animation,
double zoomLevel,
float orientation,
float tilt)
Centers the map at the specified screen pixel coordinates.
|
void |
Map.setZoomLevel(double level,
Map.Animation animation)
Sets a zoom level for the
Map to a fraction that is within the range of minimum and
maximum zoom levels. |
void |
Map.setZoomLevel(double level,
android.graphics.PointF focus,
Map.Animation animation)
Sets a zoom level for the
Map to a fraction that is within the range of minimum and
maximum zoom levels while keeping the specified screen coordinate at the same Geographical
Location. |
void |
Map.zoomTo(GeoBoundingBox geoRect,
int width,
int height,
Map.Animation animation,
float orientation)
Moves this
Map instance and changes its zoom level to show the specified
GeoBoundingBox within the specified pixel
dimensions around the transform center. |
void |
Map.zoomTo(GeoBoundingBox geoRect,
Map.Animation animation,
float orientation)
Moves this
Map instance's map center and changes the zoom level to show the specified
GeoBoundingBox at the given orientation. |