Fix route bugs

This commit is contained in:
Victor Shcherb 2014-06-19 23:12:56 +02:00
parent 6324cca4d8
commit 8dc0afc561

View file

@ -102,10 +102,14 @@ public class RoutePointsPlugin extends OsmandPlugin {
} }
} }
@Override
public void registerLayers(MapActivity activity) {
super.registerLayers(activity);
registerWidget(activity);
}
@Override @Override
public void updateLayers(OsmandMapTileView mapView, MapActivity activity) { public void updateLayers(OsmandMapTileView mapView, MapActivity activity) {
if (routeStepsControl == null) { if (routeStepsControl == null) {
registerWidget(activity); registerWidget(activity);
} }