public class IconsMapComponent extends AbstractMapComponent
AbstractMapComponent.OnAllComponentsCreatedCallback| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
TAG |
| Constructor and Description |
|---|
IconsMapComponent() |
| Modifier and Type | Method and Description |
|---|---|
static IconsMapComponent |
getInstance() |
android.graphics.Bitmap |
getRemoteIcon(java.lang.String url)
Retrieve an icon from the icon cache database
If the icon hasn't been loaded yet this will return null
|
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.
|
addOverlay, onConfigurationChanged, onCreateOptionsMenu, onDestroy, onOptionsItemSelected, onOptionsMenuClosed, onPause, onPrepareOptionsMenu, onResume, onStart, onStop, registerReceiver, removeOverlay, setOnAllComponentsCreatedCallback, unregisterReceiverpublic static final java.lang.String TAG
public static IconsMapComponent getInstance()
public void onCreate(android.content.Context context,
android.content.Intent intent,
MapView view)
MapComponentcontext - 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)
AbstractMapComponentonDestroyImpl in class AbstractMapComponentpublic android.graphics.Bitmap getRemoteIcon(java.lang.String url)
url - URL to the icon