Class com.google.android.maps.MapView
The superclass changed from android.view.View
to android.view.ViewGroup
.
Removed Constructors
|
com.google.android.maps(Context )
|
Constructs a mapView object. |
com.google.android.maps(Context, AttributeSet, Map)
|
Constructs a mapView object. |
Added Constructors
|
MapView(Context, AttributeSet)
|
Constructs a MapView object. |
MapView(Context, AttributeSet, int)
|
Constructs a MapView object. |
MapView(Context, String)
|
Constructs a MapView object. |
Removed Methods
|
OverlayController createOverlayController()
|
@return A new OverlayController bound to this MapView. |
void displayZoomDialog(float, float)
|
Display a zoom dialog. |
void freezeTo(Bundle )
|
Saves the state of the MapView to a Bundle. |
boolean isEdgeZooming()
|
Returns true if you can zoom the map by sliding your finger
along the right edge of the screen. |
boolean isShowMyLocation()
|
@return true if the user's current location is shown on the map |
boolean onLongPress(float, float)
|
Call this view's OnLongPressListener, if it is defined. |
void setOnLongPressListener(OnLongPressListener )
|
Register a callback to be invoked when the user presses and holds
on the view. |
void thawFrom(Bundle )
|
Restores the state of the MapView to a Bundle. |
void toggleEdgeZooming()
|
Toggles the current value for edge zooming and stores that as a preferences. |
void toggleSatellite()
|
Toggles from satellite to map mode (and back). |
void toggleShowMyLocation()
|
Toggles whether the user's current location is shown or not |
void toggleStreetView()
|
Toggles whether the Street View overlay is shown. |
void toggleTraffic()
|
Toggles whether traffic is shown on the map. |
Changed Methods
|
void computeScroll()
|
Method was inherited from android.view.View, but is now defined locally.
|
Captures scroll events and uses them to pan the map. |
GeoPoint getMapCenter()
|
Change in return type from Point to GeoPoint .
|
Returns the current center-point position of the map, as a GeoPoint
(latitude and longitude). |
void onDraw(Canvas )
|
Change from non-final to final.
|
The main draw method. |
void onLayout(boolean, int, int, int, int)
|
Method was inherited from android.view.View, but is now defined locally.
|
|
void onMeasure(int, int)
|
Method was inherited from android.view.View, but is now defined locally. Change from non-final to final.
|
|