public class NavWidgetsMapComponent extends AbstractMapComponent implements MapWidget2.OnWidgetSizeChangedListener, OverlayManager.OnServiceListener, Overlay.OnVisibleChangedListener, android.content.SharedPreferences.OnSharedPreferenceChangeListener
AbstractMapComponent.OnAllComponentsCreatedCallback
TAG
Constructor and Description |
---|
NavWidgetsMapComponent() |
Modifier and Type | Method and Description |
---|---|
void |
onCreate(android.content.Context context,
android.content.Intent intent,
MapView view)
Called when the component is first created
|
protected void |
onDestroyImpl(android.content.Context context,
MapView view)
This method is invoked as a subset of the onDestroy call as part of the
MapComponent lifecycle.
|
void |
onOverlayManagerBind(OverlayManager manager) |
void |
onOverlayManagerUnbind(OverlayManager manager) |
void |
onOverlayVisibleChanged(Overlay overlay) |
void |
onSharedPreferenceChanged(android.content.SharedPreferences prefs,
java.lang.String key) |
void |
onWidgetSizeChanged(MapWidget2 widget) |
addOverlay, onConfigurationChanged, onCreateOptionsMenu, onDestroy, onOptionsItemSelected, onOptionsMenuClosed, onPause, onPrepareOptionsMenu, onResume, onStart, onStop, registerReceiver, removeOverlay, setOnAllComponentsCreatedCallback, unregisterReceiver
public void onCreate(android.content.Context context, android.content.Intent intent, MapView view)
MapComponent
onCreate
in interface MapComponent
context
- the context of the component (the MapActivity instance)intent
- the intent of the MapActivityview
- the main MapViewprotected void onDestroyImpl(android.content.Context context, MapView view)
AbstractMapComponent
onDestroyImpl
in class AbstractMapComponent
public void onWidgetSizeChanged(MapWidget2 widget)
onWidgetSizeChanged
in interface MapWidget2.OnWidgetSizeChangedListener
public void onOverlayManagerBind(OverlayManager manager)
onOverlayManagerBind
in interface OverlayManager.OnServiceListener
public void onOverlayManagerUnbind(OverlayManager manager)
onOverlayManagerUnbind
in interface OverlayManager.OnServiceListener
public void onOverlayVisibleChanged(Overlay overlay)
onOverlayVisibleChanged
in interface Overlay.OnVisibleChangedListener
public void onSharedPreferenceChanged(android.content.SharedPreferences prefs, java.lang.String key)
onSharedPreferenceChanged
in interface android.content.SharedPreferences.OnSharedPreferenceChangeListener