-
Notifications
You must be signed in to change notification settings - Fork 0
Mapping
Suraj Swarnapuri edited this page May 5, 2019
·
2 revisions
BNav uses the Esri API for Android for its Mapping and Routing services
- Mapview mMapView
-
- holds the map information for the UI
- GraphicsOverlay mGraphicsOverlay
-
- holds the graphics for the route and stop information
- GraphicsOverlay _personUpdate
-
- holds the graphics information for the players location
- Point mStart
-
- starting location
- Point mEnd
-
- ending location
- void setupMap()
-
- initializes basemap layers and orientation sensors
- void createGraphicsOverlay()
-
- initializes mGraphicsOverlay and mMapView
- void setMapMarker(Point location, SimpleMarkerSymbol.Style style, int markerColor, int outlineColor)
-
- draws point on map given certain parameters
- void setStartMarker(Point location)
-
- sets the start location
- void setEndMarker(Point location)
-
- sets the end location
- void mapClicked(Point location) [DEPRECATED]
-
- draws point on map where map is clicked