Package world.mappable.mapkit.mapview

Class MapView

java.lang.Object
    ↳ android.view.View
        ↳ android.view.ViewGroup
            ↳ android.widget.RelativeLayout
                ↳ world.mappable.mapkit.mapview.MapView

class MapView extends RelativeLayout

MapView can be customized by using the mappable:movable XML attribute.

If mappable:movable="true" then PlatformGLTextureView will be used for rendering and MapView can be used, for example, in a ListView. If mappable:movable="false" or is not set, PlatfromGLSurfaceView will be used for rendering and MapView should not be used in a ListView or a GridView. If mappable:movable="false" then this MapView can't overlap with any other MapView (either movable or not).

Summary

Constructors

Signature and Description

MapView(android.content.Context context)

MapView(android.content.Context context,
        android.util.AttributeSet attrs)

MapView(android.content.Context context,
        android.util.AttributeSet attrs,
        int defStyle)

Methods

Type and modifiers

Method and Description

MapWindow

getMapWindow()

void

setNoninteractive(boolean is)

void

onStop()
Should be called from from corresponding method of activity or fragment containing this view

void

onStart()
Should be called from from corresponding method of activity or fragment containing this view

boolean

isDebugModeEnabled()
is debug mode enabled

Constuctors

MapView

MapView(android.content.Context context)


MapView

MapView(android.content.Context context,
        android.util.AttributeSet attrs)


MapView

MapView(android.content.Context context,
        android.util.AttributeSet attrs,
        int defStyle)


Methods

getMapWindow

MapWindow getMapWindow()


setNoninteractive

void setNoninteractive(boolean is)


onStop

void onStop()

Should be called from from corresponding method of activity or fragment containing this view


onStart

void onStart()

Should be called from from corresponding method of activity or fragment containing this view


isDebugModeEnabled

boolean isDebugModeEnabled()

is debug mode enabled