MapView
Package: com.eegeo.mapapi
View which displays a 3D map.
Constructors
MapView(Context context)
Constructor for a MapView object.
Type | argument | Description |
---|---|---|
Context | context | The Android context for the view. |
MapView(Context context, AttributeSet attributeSet)
Constructor for a MapView object.
Type | argument | Description |
---|---|---|
Context | context | The Android context for the view. |
AttributeSet | attributeSet | Attributes which may be used to initialize the view. Attributes may be defined in the view’s layout xml by setting eegeo_MapView styleable resources. |
MapView(Context context, EegeoMapOptions eegeoMapOptions)
Constructor for a MapView object.
Type | argument | Description |
---|---|---|
Context | context | The Android context for the view. |
EegeoMapOptions | eegeoMapOptions | An EegeoMapOptions object specifying initial conditions for the object. |
Methods
void onCreate(Bundle savedInstanceState)
Call this method from the parent Activity’s onCreate method.
Type | argument | Description |
---|---|---|
Bundle | savedInstanceState | The savedInstanceState from the parent. |
void getMapAsync(OnMapReadyCallback callback)
Sets an object which will be notified when the EegeoMap is available and ready to be used. This is the expected means to obtain an EegeoMap object.
Type | argument | Description |
---|---|---|
OnMapReadyCallback | callback | The object to be notified. |
void onResume()
Call this method from the parent Activity’s onResume method.
void onPause()
Call this method from the parent Activity’s onPause method.
void onDestroy()
Call this method from the parent Activity’s onDestroy method.
void onDraw(Canvas canvas)
Delegates to the native code to draw the view.
Type | argument | Description |
---|---|---|
Canvas | canvas | Android canvas on which the view is drawn. |
boolean onTouchEvent(MotionEvent e)
Called when the user touches the screen.
Returns: True if the event was handled, false otherwise.
Type | argument | Description |
---|---|---|
MotionEvent | e | The motion event. |
v0.0.1467
- Introduction
- EegeoMapOptions
- OnInitialStreamingCompleteListener
- OnMapReadyCallback
- MapFeatureType
- Promise
- Ready
- Polygon
- PolygonOptions
- Polyline
- PolylineOptions
- IndoorMap
- OnIndoorEnteredListener
- OnIndoorExitedListener
- OnIndoorEnterFailedListener
- OnFloorChangedListener
- OnIndoorMapLoadedListener
- OnIndoorMapUnloadedListener
- IndoorMapEntity
- IndoorMapEntityInformation
- IndoorMapEntityLoadState
- OnIndoorMapEntityInformationChangedListener
- IndoorMapFloorOutlineInformation
- IndoorMapFloorOutlinePolygon
- IndoorMapFloorOutlinePolygonRing
- OnIndoorMapFloorOutlineInformationLoadedListener
- BuildingHighlight
- BuildingHighlightOptions
- BuildingInformation
- BuildingDimensions
- BuildingContour
- OnBuildingInformationReceivedListener
- Prop
- PropOptions
- PickResult
- BlueSphere
- PoiService
- PoiSearch
- TextSearchOptions
- TagSearchOptions
- AutocompleteOptions
- PoiSearchResponse
- PoiSearchResult
- OnPoiSearchCompletedListener
- TagService
- OnTagsLoadCompletedListener
- MapsceneService
- MapsceneRequest
- MapsceneRequestOptions
- MapsceneRequestResponse
- Mapscene
- OnMapsceneRequestCompletedListener
- MapsceneSearchConfig
- MapsceneStartLocation
- MapsceneDataSources
- RoutingService
- RoutingQuery
- RoutingQueryOptions
- RoutingQueryResponse
- Route
- RouteSection
- RouteStep
- RouteDirections
- TransportationMode
- OnRoutingQueryCompletedListener
- RouteView
- RouteViewOptions
Overview
Supporting classes
Polygons
Polylines
Indoor maps
Indoor map entities
Indoor map floor outlines
Buildings
Props
Picking
Widgets (Optional)
POI Service (Optional)
Tag Service (Optional)
Mapscene Service (Optional)
Routing Service (Optional)
RouteView Widget (Optional)
Overview
Introduction
Supporting classes
EegeoMapOptions
OnInitialStreamingCompleteListener
OnMapReadyCallback
MapFeatureType
Promise
Ready
Polygons
Polygon
PolygonOptions
Polylines
Polyline
PolylineOptions
Indoor maps
IndoorMap
OnIndoorEnteredListener
OnIndoorExitedListener
OnIndoorEnterFailedListener
OnFloorChangedListener
OnIndoorMapLoadedListener
OnIndoorMapUnloadedListener
Indoor map entities
IndoorMapEntity
IndoorMapEntityInformation
IndoorMapEntityLoadState
OnIndoorMapEntityInformationChangedListener
Indoor map floor outlines
IndoorMapFloorOutlineInformation
IndoorMapFloorOutlinePolygon
IndoorMapFloorOutlinePolygonRing
OnIndoorMapFloorOutlineInformationLoadedListener
Buildings
BuildingHighlight
BuildingHighlightOptions
BuildingInformation
BuildingDimensions
BuildingContour
OnBuildingInformationReceivedListener
Props
Prop
PropOptions
Picking
PickResult
Widgets (Optional)
BlueSphere
POI Service (Optional)
PoiService
PoiSearch
TextSearchOptions
TagSearchOptions
AutocompleteOptions
PoiSearchResponse
PoiSearchResult
OnPoiSearchCompletedListener
Tag Service (Optional)
TagService
OnTagsLoadCompletedListener
Mapscene Service (Optional)
MapsceneService
MapsceneRequest
MapsceneRequestOptions
MapsceneRequestResponse
Mapscene
OnMapsceneRequestCompletedListener
MapsceneSearchConfig
MapsceneStartLocation
MapsceneDataSources
Routing Service (Optional)
RoutingService
RoutingQuery
RoutingQueryOptions
RoutingQueryResponse
Route
RouteSection
RouteStep
RouteDirections
TransportationMode
OnRoutingQueryCompletedListener
RouteView Widget (Optional)
RouteView
RouteViewOptions