public class ElevationOverlaysMapComponent extends AbstractMapComponent
Modifier and Type | Class and Description |
---|---|
static class |
ElevationOverlaysMapComponent.HeatMapMode |
AbstractMapComponent.OnAllComponentsCreatedCallback
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ELEVATION_WIDGET |
static java.lang.String |
PREFERENCE_COLOR_INTENSITY_KEY |
static java.lang.String |
PREFERENCE_COLOR_INTENSITY_VALUE |
static java.lang.String |
PREFERENCE_COLOR_SATURATION_KEY |
static java.lang.String |
PREFERENCE_COLOR_VALUE_KEY |
static int |
PREFERENCE_MAX_VALUE |
static java.lang.String |
PREFERENCE_MODE_KEY |
static java.lang.String |
PREFERENCE_VISIBLE_KEY |
static int |
PREFERENCE_X_RES_DEFAULT |
static java.lang.String |
PREFERENCE_X_RES_KEY |
static int |
PREFERENCE_X_RES_MAX |
static int |
PREFERENCE_X_RES_MIN |
static int |
PREFERENCE_Y_RES_DEFAULT |
static java.lang.String |
PREFERENCE_Y_RES_KEY |
static int |
PREFERENCE_Y_RES_MAX |
static int |
PREFERENCE_Y_RES_MIN |
TAG
Constructor and Description |
---|
ElevationOverlaysMapComponent() |
Modifier and Type | Method and Description |
---|---|
static void |
cancelContourLinesGeneration() |
static ElevationOverlaysMapComponent.HeatMapMode |
getHeatMapMode() |
static boolean |
isHeatMapVisible() |
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 |
onMapViewResized(AtakMapView view) |
static void |
refreshHeatmap()
Call to trigger a heat map refresh - used by GvLFStreamer
|
static void |
setContourLinesVisible(boolean visible) |
static void |
setHeatMapMode(ElevationOverlaysMapComponent.HeatMapMode mode) |
static void |
setHeatMapVisible(boolean visible) |
addOverlay, onConfigurationChanged, onCreateOptionsMenu, onDestroy, onOptionsItemSelected, onOptionsMenuClosed, onPause, onPrepareOptionsMenu, onResume, onStart, onStop, registerReceiver, removeOverlay, setOnAllComponentsCreatedCallback, unregisterReceiver
public static final java.lang.String PREFERENCE_VISIBLE_KEY
public static final java.lang.String PREFERENCE_COLOR_SATURATION_KEY
public static final java.lang.String PREFERENCE_COLOR_VALUE_KEY
public static final java.lang.String PREFERENCE_COLOR_INTENSITY_KEY
public static final java.lang.String PREFERENCE_COLOR_INTENSITY_VALUE
public static final java.lang.String PREFERENCE_X_RES_KEY
public static final int PREFERENCE_X_RES_MIN
public static final int PREFERENCE_X_RES_DEFAULT
public static final int PREFERENCE_X_RES_MAX
public static final java.lang.String PREFERENCE_Y_RES_KEY
public static final int PREFERENCE_Y_RES_MIN
public static final int PREFERENCE_Y_RES_DEFAULT
public static final int PREFERENCE_Y_RES_MAX
public static final int PREFERENCE_MAX_VALUE
public static final java.lang.String PREFERENCE_MODE_KEY
public static final java.lang.String ELEVATION_WIDGET
public void onCreate(android.content.Context context, android.content.Intent intent, MapView view)
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 onMapViewResized(AtakMapView view)
public static void setHeatMapVisible(boolean visible)
public static boolean isHeatMapVisible()
public static void setHeatMapMode(ElevationOverlaysMapComponent.HeatMapMode mode)
public static ElevationOverlaysMapComponent.HeatMapMode getHeatMapMode()
public static void setContourLinesVisible(boolean visible)
public static void cancelContourLinesGeneration()
public static void refreshHeatmap()