OsmAnd
|
Public Member Functions | |
RouteInfoLayer (RoutingHelper routingHelper, LinearLayout layout, ContextMenuLayer contextMenu) | |
void | initLayer (OsmandMapTileView view) |
boolean | isVisible () |
boolean | couldBeVisible () |
void | destroyLayer () |
boolean | drawInScreenPixels () |
boolean | onLongPressEvent (PointF point) |
boolean | onSingleTap (PointF point) |
void | newRouteIsCalculated (boolean updateRoute, boolean suppressTurnPrompt) |
boolean | isUserDefinedVisible () |
void | setVisible (boolean visible) |
void | routeWasCancelled () |
void | onDraw (Canvas canvas, RectF latlonRect, RectF tilesRect, DrawSettings nightMode) |
net.osmand.plus.views.RouteInfoLayer.RouteInfoLayer | ( | RoutingHelper | routingHelper, |
LinearLayout | layout, | ||
ContextMenuLayer | contextMenu | ||
) |
void net.osmand.plus.views.RouteInfoLayer.destroyLayer | ( | ) | [virtual] |
Implements net.osmand.plus.views.OsmandMapLayer.
boolean net.osmand.plus.views.RouteInfoLayer.drawInScreenPixels | ( | ) | [virtual] |
This method returns whether canvas should be rotated as map rotated before onDraw(Canvas). If the layer draws simply layer over screen (not over map) it should return true.
Implements net.osmand.plus.views.OsmandMapLayer.
void net.osmand.plus.views.RouteInfoLayer.initLayer | ( | OsmandMapTileView | view | ) | [virtual] |
Implements net.osmand.plus.views.OsmandMapLayer.
boolean net.osmand.plus.views.RouteInfoLayer.isVisible | ( | ) |
void net.osmand.plus.views.RouteInfoLayer.newRouteIsCalculated | ( | boolean | updateRoute, |
boolean | suppressTurnPrompt | ||
) |
void net.osmand.plus.views.RouteInfoLayer.onDraw | ( | Canvas | canvas, |
RectF | latlonRect, | ||
RectF | tilesRect, | ||
DrawSettings | nightMode | ||
) | [virtual] |
Implements net.osmand.plus.views.OsmandMapLayer.
boolean net.osmand.plus.views.RouteInfoLayer.onLongPressEvent | ( | PointF | point | ) |
Reimplemented from net.osmand.plus.views.OsmandMapLayer.
boolean net.osmand.plus.views.RouteInfoLayer.onSingleTap | ( | PointF | point | ) |
Reimplemented from net.osmand.plus.views.OsmandMapLayer.
void net.osmand.plus.views.RouteInfoLayer.setVisible | ( | boolean | visible | ) |