public class GLMapSurfaceView extends LegacyGLSurfaceView
| Modifier and Type | Class and Description |
|---|---|
static class |
GLMapSurfaceView.InteractionMode |
static class |
GLMapSurfaceView.MapColor |
static class |
GLMapSurfaceView.MapLoadStatus
createRender: First time engine view is created
resizeRender: Orientation switch
startRender: Tile has been downloaded and first frame has been rendered
|
static class |
GLMapSurfaceView.RenderMode |
static class |
GLMapSurfaceView.RouteRenderStyle |
static class |
GLMapSurfaceView.TouchEvent |
static class |
GLMapSurfaceView.VehicleMode |
LegacyGLSurfaceView.EGLConfigChooser, LegacyGLSurfaceView.EGLContextFactory, LegacyGLSurfaceView.EGLWindowSurfaceFactory, LegacyGLSurfaceView.GLWrapper, LegacyGLSurfaceView.Rendererandroid.view.View.AccessibilityDelegate, android.view.View.BaseSavedState, android.view.View.DragShadowBuilder, android.view.View.MeasureSpec, android.view.View.OnAttachStateChangeListener, android.view.View.OnClickListener, android.view.View.OnCreateContextMenuListener, android.view.View.OnDragListener, android.view.View.OnFocusChangeListener, android.view.View.OnGenericMotionListener, android.view.View.OnHoverListener, android.view.View.OnKeyListener, android.view.View.OnLayoutChangeListener, android.view.View.OnLongClickListener, android.view.View.OnSystemUiVisibilityChangeListener, android.view.View.OnTouchListener| Modifier and Type | Field and Description |
|---|---|
static float |
DEFAULT_ZOOM_LEVEL |
static float |
MAP_MAX_ZOOM_LEVEL |
static String |
resourcePath |
DEBUG_CHECK_GL_ERROR, DEBUG_LOG_GL_CALLS, RENDERMODE_CONTINUOUSLY, RENDERMODE_WHEN_DIRTYALPHA, DRAWING_CACHE_QUALITY_AUTO, DRAWING_CACHE_QUALITY_HIGH, DRAWING_CACHE_QUALITY_LOW, EMPTY_STATE_SET, ENABLED_FOCUSED_SELECTED_STATE_SET, ENABLED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET, ENABLED_FOCUSED_STATE_SET, ENABLED_FOCUSED_WINDOW_FOCUSED_STATE_SET, ENABLED_SELECTED_STATE_SET, ENABLED_SELECTED_WINDOW_FOCUSED_STATE_SET, ENABLED_STATE_SET, ENABLED_WINDOW_FOCUSED_STATE_SET, FIND_VIEWS_WITH_CONTENT_DESCRIPTION, FIND_VIEWS_WITH_TEXT, FOCUS_BACKWARD, FOCUS_DOWN, FOCUS_FORWARD, FOCUS_LEFT, FOCUS_RIGHT, FOCUS_UP, FOCUSABLES_ALL, FOCUSABLES_TOUCH_MODE, FOCUSED_SELECTED_STATE_SET, FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET, FOCUSED_STATE_SET, FOCUSED_WINDOW_FOCUSED_STATE_SET, GONE, HAPTIC_FEEDBACK_ENABLED, IMPORTANT_FOR_ACCESSIBILITY_AUTO, IMPORTANT_FOR_ACCESSIBILITY_NO, IMPORTANT_FOR_ACCESSIBILITY_YES, INVISIBLE, KEEP_SCREEN_ON, LAYER_TYPE_HARDWARE, LAYER_TYPE_NONE, LAYER_TYPE_SOFTWARE, LAYOUT_DIRECTION_INHERIT, LAYOUT_DIRECTION_LOCALE, LAYOUT_DIRECTION_LTR, LAYOUT_DIRECTION_RTL, MEASURED_HEIGHT_STATE_SHIFT, MEASURED_SIZE_MASK, MEASURED_STATE_MASK, MEASURED_STATE_TOO_SMALL, NO_ID, OVER_SCROLL_ALWAYS, OVER_SCROLL_IF_CONTENT_SCROLLS, OVER_SCROLL_NEVER, PRESSED_ENABLED_FOCUSED_SELECTED_STATE_SET, PRESSED_ENABLED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET, PRESSED_ENABLED_FOCUSED_STATE_SET, PRESSED_ENABLED_FOCUSED_WINDOW_FOCUSED_STATE_SET, PRESSED_ENABLED_SELECTED_STATE_SET, PRESSED_ENABLED_SELECTED_WINDOW_FOCUSED_STATE_SET, PRESSED_ENABLED_STATE_SET, PRESSED_ENABLED_WINDOW_FOCUSED_STATE_SET, PRESSED_FOCUSED_SELECTED_STATE_SET, PRESSED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET, PRESSED_FOCUSED_STATE_SET, PRESSED_FOCUSED_WINDOW_FOCUSED_STATE_SET, PRESSED_SELECTED_STATE_SET, PRESSED_SELECTED_WINDOW_FOCUSED_STATE_SET, PRESSED_WINDOW_FOCUSED_STATE_SET, ROTATION, ROTATION_X, ROTATION_Y, SCALE_X, SCALE_Y, SCREEN_STATE_OFF, SCREEN_STATE_ON, SCROLLBAR_POSITION_DEFAULT, SCROLLBAR_POSITION_LEFT, SCROLLBAR_POSITION_RIGHT, SCROLLBARS_INSIDE_INSET, SCROLLBARS_INSIDE_OVERLAY, SCROLLBARS_OUTSIDE_INSET, SCROLLBARS_OUTSIDE_OVERLAY, SELECTED_STATE_SET, SELECTED_WINDOW_FOCUSED_STATE_SET, SOUND_EFFECTS_ENABLED, STATUS_BAR_HIDDEN, STATUS_BAR_VISIBLE, SYSTEM_UI_FLAG_FULLSCREEN, SYSTEM_UI_FLAG_HIDE_NAVIGATION, SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN, SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION, SYSTEM_UI_FLAG_LAYOUT_STABLE, SYSTEM_UI_FLAG_LOW_PROFILE, SYSTEM_UI_FLAG_VISIBLE, SYSTEM_UI_LAYOUT_FLAGS, TEXT_ALIGNMENT_CENTER, TEXT_ALIGNMENT_GRAVITY, TEXT_ALIGNMENT_INHERIT, TEXT_ALIGNMENT_TEXT_END, TEXT_ALIGNMENT_TEXT_START, TEXT_ALIGNMENT_VIEW_END, TEXT_ALIGNMENT_VIEW_START, TEXT_DIRECTION_ANY_RTL, TEXT_DIRECTION_FIRST_STRONG, TEXT_DIRECTION_INHERIT, TEXT_DIRECTION_LOCALE, TEXT_DIRECTION_LTR, TEXT_DIRECTION_RTL, TRANSLATION_X, TRANSLATION_Y, VIEW_LOG_TAG, VISIBLE, WINDOW_FOCUSED_STATE_SET, X, Y| Constructor and Description |
|---|
GLMapSurfaceView(android.content.Context context) |
GLMapSurfaceView(android.content.Context context,
android.util.AttributeSet attrs) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addAnnotation(GLMapAnnotation annotation) |
protected void |
addAnnotation(GLMapAnnotation annotation,
boolean refresh) |
void |
addCarModel(byte[] skin,
byte[] model) |
void |
addCarModel(byte[] skin,
String model) |
OverLayId |
addOverlay(Overlay overlay) |
void |
calculateRegion(double northLat,
double westLon,
double southLat,
double eastLon,
float[] zoomLevel,
double[] lookAtLatitude,
double[] lookAtLongitude) |
void |
clearRoute() |
void |
disableTouch(boolean touchDisabled) |
ArrayList<GLMapAnnotation> |
getAnnotations() |
byte[] |
getBitmapSnapshot(int x,
int y,
int width,
int height) |
double |
getCameraDeclination() |
protected android.location.Location |
getCameraLocation() |
boolean |
getEngineBooleanFlag(int key) |
protected int |
getGLRenderMode() |
int |
getHighlightAnnotationId() |
int |
getInteractionMode() |
protected android.location.Location |
getLatLon(int x,
int y) |
GLMapSurfaceView.MapColor |
getMapColor() |
GLMapListener |
getMapListener() |
int |
getMultiTouchMode() |
protected float |
getZoomLevel() |
void |
hideAnnotation(GLMapAnnotation annotation) |
void |
hideTurnArrow(int selectSegmentIndex) |
void |
init(int blankLayerViewId) |
void |
init(int blankLayerViewId,
GLMapListener glMapListener) |
void |
init(int blankLayerViewId,
android.location.Location lastKnownLocation,
GLMapListener glMapListener) |
void |
init(int blankLayerViewId,
android.location.Location firstLocation,
android.location.Location secondLocation,
android.graphics.Rect rect,
GLMapListener glMapListener) |
boolean |
isOnRoad(android.location.Location location,
int[] threshold,
boolean ignoreHeading) |
boolean |
isTouchDisabled() |
boolean |
isTurnRouteBoundValid() |
boolean |
isZoomable(float zoomLevel) |
void |
moveTo(android.location.Location latLon) |
static void |
onDestroy() |
protected void |
onDetachedFromWindow()
This method is used as part of the View class and is not normally
called or subclassed by clients of GLSurfaceView.
|
void |
onPause()
Inform the view that the activity is paused.
|
void |
onResume()
Inform the view that the activity is resumed.
|
boolean |
onTouchEvent(android.view.MotionEvent e) |
void |
refreshMapData() |
void |
refreshUrl() |
void |
removeAllAnnotation() |
void |
removeAnnotation(GLMapAnnotation annotation) |
void |
removeAnnotation(int id) |
void |
removeOverlay(OverLayId overlay) |
void |
setAdi(android.location.Location location,
GLMapSurfaceView.RenderMode renderMode,
float zoomLevel,
android.graphics.Rect regionBound) |
void |
setCameraDeclination(int zoomLevel,
double declination,
boolean needAnimation) |
void |
setEngineBooleanFlag(int key,
boolean value) |
void |
setHighlightAnnotation(int id,
boolean needMove) |
void |
setInteractionMode(int mode) |
void |
setLayer(boolean isShowTrafficFlow,
boolean isShowTrafficIncident,
boolean isShowTrafficCameraOverlay,
boolean isShowTrafficSpeedTrapOverlay,
boolean isShowSatelliteOverlay) |
void |
setMapColor(GLMapSurfaceView.MapColor mapColor) |
void |
setMapListener(GLMapListener glMapListener) |
void |
setMultiTouchMode(int mode) |
void |
setRasterMode(int type) |
protected void |
setRenderMode(GLMapSurfaceView.RenderMode renderMode) |
void |
setShowSky(boolean isShowSky) |
void |
setTurnRouteZoomLevel(int width,
int height) |
protected static void |
setVectorQueryParam(String param) |
void |
setVectorUrl(String url,
String param) |
void |
setVehicleLocation(android.location.Location l,
boolean needAccuracy,
boolean needBlueCircle,
boolean needMove) |
void |
setVehicleMode(GLMapSurfaceView.VehicleMode vehicleMode) |
void |
setZoomLevel(float zoomLevel,
boolean needTransition) |
void |
showAnnotation(GLMapAnnotation annotation) |
void |
showRegion(double northLat,
double westLon,
double southLat,
double eastLon) |
void |
showRegion(double northLat,
double westLon,
double southLat,
double eastLon,
android.graphics.Rect rect) |
void |
showTurnArrow(int selectSegmentIndex) |
void |
showTurnRouteSummary() |
finalize, getDebugFlags, getInnerRenderMode, getPreserveEGLContextOnPause, onAttachedToWindow, queueEvent, requestRender, setDebugFlags, setEGLConfigChooser, setEGLConfigChooser, setEGLConfigChooser, setEGLContextClientVersion, setEGLContextFactory, setEGLWindowSurfaceFactory, setGLWrapper, setPreserveEGLContextOnPause, setRenderer, setRenderMode, surfaceChanged, surfaceCreated, surfaceDestroyeddispatchDraw, draw, gatherTransparentRegion, getHolder, onMeasure, onWindowVisibilityChanged, setSecure, setVisibility, setZOrderMediaOverlay, setZOrderOnTopaddChildrenForAccessibility, addFocusables, addFocusables, addOnAttachStateChangeListener, addOnLayoutChangeListener, addTouchables, animate, announceForAccessibility, awakenScrollBars, awakenScrollBars, awakenScrollBars, bringToFront, buildDrawingCache, buildDrawingCache, buildLayer, callOnClick, cancelLongPress, canScrollHorizontally, canScrollVertically, checkInputConnectionProxy, clearAnimation, clearFocus, combineMeasuredStates, computeHorizontalScrollExtent, computeHorizontalScrollOffset, computeHorizontalScrollRange, computeScroll, computeVerticalScrollExtent, computeVerticalScrollOffset, computeVerticalScrollRange, createAccessibilityNodeInfo, createContextMenu, destroyDrawingCache, dispatchConfigurationChanged, dispatchDisplayHint, dispatchDragEvent, dispatchGenericFocusedEvent, dispatchGenericMotionEvent, dispatchGenericPointerEvent, dispatchHoverEvent, dispatchKeyEvent, dispatchKeyEventPreIme, dispatchKeyShortcutEvent, dispatchPopulateAccessibilityEvent, dispatchRestoreInstanceState, dispatchSaveInstanceState, dispatchSetActivated, dispatchSetPressed, dispatchSetSelected, dispatchSystemUiVisibilityChanged, dispatchTouchEvent, dispatchTrackballEvent, dispatchUnhandledMove, dispatchVisibilityChanged, dispatchWindowFocusChanged, dispatchWindowSystemUiVisiblityChanged, dispatchWindowVisibilityChanged, drawableStateChanged, findFocus, findViewById, findViewsWithText, findViewWithTag, fitSystemWindows, focusSearch, forceLayout, generateViewId, getAccessibilityNodeProvider, getAlpha, getAnimation, getApplicationWindowToken, getBackground, getBaseline, getBottom, getBottomFadingEdgeStrength, getBottomPaddingOffset, getCameraDistance, getContentDescription, getContext, getContextMenuInfo, getDefaultSize, getDisplay, getDrawableState, getDrawingCache, getDrawingCache, getDrawingCacheBackgroundColor, getDrawingCacheQuality, getDrawingRect, getDrawingTime, getFilterTouchesWhenObscured, getFitsSystemWindows, getFocusables, getFocusedRect, getGlobalVisibleRect, getGlobalVisibleRect, getHandler, getHeight, getHitRect, getHorizontalFadingEdgeLength, getHorizontalScrollbarHeight, getId, getImportantForAccessibility, getKeepScreenOn, getKeyDispatcherState, getLabelFor, getLayerType, getLayoutDirection, getLayoutParams, getLeft, getLeftFadingEdgeStrength, getLeftPaddingOffset, getLocalVisibleRect, getLocationInWindow, getLocationOnScreen, getMatrix, getMeasuredHeight, getMeasuredHeightAndState, getMeasuredState, getMeasuredWidth, getMeasuredWidthAndState, getMinimumHeight, getMinimumWidth, getNextFocusDownId, getNextFocusForwardId, getNextFocusLeftId, getNextFocusRightId, getNextFocusUpId, getOnFocusChangeListener, getOverScrollMode, getPaddingBottom, getPaddingEnd, getPaddingLeft, getPaddingRight, getPaddingStart, getPaddingTop, getParent, getParentForAccessibility, getPivotX, getPivotY, getResources, getRight, getRightFadingEdgeStrength, getRightPaddingOffset, getRootView, getRotation, getRotationX, getRotationY, getScaleX, getScaleY, getScrollBarDefaultDelayBeforeFade, getScrollBarFadeDuration, getScrollBarSize, getScrollBarStyle, getScrollX, getScrollY, getSolidColor, getSuggestedMinimumHeight, getSuggestedMinimumWidth, getSystemUiVisibility, getTag, getTag, getTextAlignment, getTextDirection, getTop, getTopFadingEdgeStrength, getTopPaddingOffset, getTouchables, getTouchDelegate, getTranslationX, getTranslationY, getVerticalFadingEdgeLength, getVerticalScrollbarPosition, getVerticalScrollbarWidth, getViewTreeObserver, getVisibility, getWidth, getWindowAttachCount, getWindowSystemUiVisibility, getWindowToken, getWindowVisibility, getWindowVisibleDisplayFrame, getX, getY, hasFocus, hasFocusable, hasOnClickListeners, hasOverlappingRendering, hasTransientState, hasWindowFocus, inflate, initializeFadingEdge, initializeScrollbars, invalidate, invalidate, invalidate, invalidateDrawable, isActivated, isClickable, isDirty, isDrawingCacheEnabled, isDuplicateParentStateEnabled, isEnabled, isFocusable, isFocusableInTouchMode, isFocused, isHapticFeedbackEnabled, isHardwareAccelerated, isHorizontalFadingEdgeEnabled, isHorizontalScrollBarEnabled, isHovered, isInEditMode, isInTouchMode, isLayoutRequested, isLongClickable, isOpaque, isPaddingOffsetRequired, isPaddingRelative, isPressed, isSaveEnabled, isSaveFromParentEnabled, isScrollbarFadingEnabled, isScrollContainer, isSelected, isShown, isSoundEffectsEnabled, isVerticalFadingEdgeEnabled, isVerticalScrollBarEnabled, jumpDrawablesToCurrentState, layout, measure, mergeDrawableStates, offsetLeftAndRight, offsetTopAndBottom, onAnimationEnd, onAnimationStart, onCheckIsTextEditor, onConfigurationChanged, onCreateContextMenu, onCreateDrawableState, onCreateInputConnection, onDisplayHint, onDragEvent, onDraw, onDrawScrollBars, onFilterTouchEventForSecurity, onFinishInflate, onFinishTemporaryDetach, onFocusChanged, onGenericMotionEvent, onHoverChanged, onHoverEvent, onInitializeAccessibilityEvent, onInitializeAccessibilityNodeInfo, onKeyDown, onKeyLongPress, onKeyMultiple, onKeyPreIme, onKeyShortcut, onKeyUp, onLayout, onOverScrolled, onPopulateAccessibilityEvent, onRestoreInstanceState, onRtlPropertiesChanged, onSaveInstanceState, onScreenStateChanged, onScrollChanged, onSetAlpha, onSizeChanged, onStartTemporaryDetach, onTrackballEvent, onVisibilityChanged, onWindowFocusChanged, onWindowSystemUiVisibilityChanged, overScrollBy, performAccessibilityAction, performClick, performHapticFeedback, performHapticFeedback, performLongClick, playSoundEffect, post, postDelayed, postInvalidate, postInvalidate, postInvalidateDelayed, postInvalidateDelayed, postInvalidateOnAnimation, postInvalidateOnAnimation, postOnAnimation, postOnAnimationDelayed, refreshDrawableState, removeCallbacks, removeOnAttachStateChangeListener, removeOnLayoutChangeListener, requestFitSystemWindows, requestFocus, requestFocus, requestFocus, requestFocusFromTouch, requestLayout, requestRectangleOnScreen, requestRectangleOnScreen, resolveSize, resolveSizeAndState, restoreHierarchyState, saveHierarchyState, scheduleDrawable, scrollBy, scrollTo, sendAccessibilityEvent, sendAccessibilityEventUnchecked, setAccessibilityDelegate, setActivated, setAlpha, setAnimation, setBackground, setBackgroundColor, setBackgroundDrawable, setBackgroundResource, setBottom, setCameraDistance, setClickable, setContentDescription, setDrawingCacheBackgroundColor, setDrawingCacheEnabled, setDrawingCacheQuality, setDuplicateParentStateEnabled, setEnabled, setFadingEdgeLength, setFilterTouchesWhenObscured, setFitsSystemWindows, setFocusable, setFocusableInTouchMode, setHapticFeedbackEnabled, setHasTransientState, setHorizontalFadingEdgeEnabled, setHorizontalScrollBarEnabled, setHovered, setId, setImportantForAccessibility, setKeepScreenOn, setLabelFor, setLayerPaint, setLayerType, setLayoutDirection, setLayoutParams, setLeft, setLongClickable, setMeasuredDimension, setMinimumHeight, setMinimumWidth, setNextFocusDownId, setNextFocusForwardId, setNextFocusLeftId, setNextFocusRightId, setNextFocusUpId, setOnClickListener, setOnCreateContextMenuListener, setOnDragListener, setOnFocusChangeListener, setOnGenericMotionListener, setOnHoverListener, setOnKeyListener, setOnLongClickListener, setOnSystemUiVisibilityChangeListener, setOnTouchListener, setOverScrollMode, setPadding, setPaddingRelative, setPivotX, setPivotY, setPressed, setRight, setRotation, setRotationX, setRotationY, setSaveEnabled, setSaveFromParentEnabled, setScaleX, setScaleY, setScrollBarDefaultDelayBeforeFade, setScrollBarFadeDuration, setScrollbarFadingEnabled, setScrollBarSize, setScrollBarStyle, setScrollContainer, setScrollX, setScrollY, setSelected, setSoundEffectsEnabled, setSystemUiVisibility, setTag, setTag, setTextAlignment, setTextDirection, setTop, setTouchDelegate, setTranslationX, setTranslationY, setVerticalFadingEdgeEnabled, setVerticalScrollBarEnabled, setVerticalScrollbarPosition, setWillNotCacheDrawing, setWillNotDraw, setX, setY, showContextMenu, startActionMode, startAnimation, startDrag, toString, unscheduleDrawable, unscheduleDrawable, verifyDrawable, willNotCacheDrawing, willNotDrawpublic static final float DEFAULT_ZOOM_LEVEL
public static final float MAP_MAX_ZOOM_LEVEL
public static String resourcePath
public GLMapSurfaceView(android.content.Context context)
public GLMapSurfaceView(android.content.Context context,
android.util.AttributeSet attrs)
public void init(int blankLayerViewId)
public void init(int blankLayerViewId,
GLMapListener glMapListener)
public void init(int blankLayerViewId,
android.location.Location lastKnownLocation,
GLMapListener glMapListener)
public void init(int blankLayerViewId,
android.location.Location firstLocation,
android.location.Location secondLocation,
android.graphics.Rect rect,
GLMapListener glMapListener)
public void setMapListener(GLMapListener glMapListener)
protected void onDetachedFromWindow()
LegacyGLSurfaceViewonDetachedFromWindow in class LegacyGLSurfaceViewpublic void onPause()
LegacyGLSurfaceViewonPause in class LegacyGLSurfaceViewpublic void onResume()
LegacyGLSurfaceViewonResume in class LegacyGLSurfaceViewpublic static void onDestroy()
public GLMapListener getMapListener()
public void disableTouch(boolean touchDisabled)
public boolean isTouchDisabled()
public void setCameraDeclination(int zoomLevel,
double declination,
boolean needAnimation)
public double getCameraDeclination()
public int getInteractionMode()
public void setVehicleMode(GLMapSurfaceView.VehicleMode vehicleMode)
public void addCarModel(byte[] skin,
String model)
public void addCarModel(byte[] skin,
byte[] model)
public void showTurnRouteSummary()
public void showTurnArrow(int selectSegmentIndex)
public void hideTurnArrow(int selectSegmentIndex)
public void clearRoute()
public void setVehicleLocation(android.location.Location l,
boolean needAccuracy,
boolean needBlueCircle,
boolean needMove)
public void setAdi(android.location.Location location,
GLMapSurfaceView.RenderMode renderMode,
float zoomLevel,
android.graphics.Rect regionBound)
public void moveTo(android.location.Location latLon)
public boolean isZoomable(float zoomLevel)
protected float getZoomLevel()
public void setZoomLevel(float zoomLevel,
boolean needTransition)
public void refreshUrl()
protected static void setVectorQueryParam(String param)
public void setInteractionMode(int mode)
public int getMultiTouchMode()
public void setMultiTouchMode(int mode)
protected int getGLRenderMode()
protected void setRenderMode(GLMapSurfaceView.RenderMode renderMode)
public void setLayer(boolean isShowTrafficFlow,
boolean isShowTrafficIncident,
boolean isShowTrafficCameraOverlay,
boolean isShowTrafficSpeedTrapOverlay,
boolean isShowSatelliteOverlay)
public void setRasterMode(int type)
public void removeOverlay(OverLayId overlay)
protected void addAnnotation(GLMapAnnotation annotation)
protected void addAnnotation(GLMapAnnotation annotation, boolean refresh)
protected android.location.Location getCameraLocation()
public void hideAnnotation(GLMapAnnotation annotation)
public void showAnnotation(GLMapAnnotation annotation)
public void setHighlightAnnotation(int id,
boolean needMove)
public int getHighlightAnnotationId()
public void removeAllAnnotation()
public void removeAnnotation(GLMapAnnotation annotation)
public void removeAnnotation(int id)
public ArrayList<GLMapAnnotation> getAnnotations()
public boolean isOnRoad(android.location.Location location,
int[] threshold,
boolean ignoreHeading)
public void setMapColor(GLMapSurfaceView.MapColor mapColor)
public void refreshMapData()
public GLMapSurfaceView.MapColor getMapColor()
public void setShowSky(boolean isShowSky)
public void calculateRegion(double northLat,
double westLon,
double southLat,
double eastLon,
float[] zoomLevel,
double[] lookAtLatitude,
double[] lookAtLongitude)
protected android.location.Location getLatLon(int x,
int y)
public byte[] getBitmapSnapshot(int x,
int y,
int width,
int height)
public void showRegion(double northLat,
double westLon,
double southLat,
double eastLon)
public void showRegion(double northLat,
double westLon,
double southLat,
double eastLon,
android.graphics.Rect rect)
public boolean getEngineBooleanFlag(int key)
public void setEngineBooleanFlag(int key,
boolean value)
public boolean onTouchEvent(android.view.MotionEvent e)
onTouchEvent in class android.view.Viewpublic void setTurnRouteZoomLevel(int width,
int height)
public boolean isTurnRouteBoundValid()