Fix route bugs
This commit is contained in:
parent
6324cca4d8
commit
8dc0afc561
1 changed files with 5 additions and 1 deletions
|
@ -102,10 +102,14 @@ public class RoutePointsPlugin extends OsmandPlugin {
|
|||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void registerLayers(MapActivity activity) {
|
||||
super.registerLayers(activity);
|
||||
registerWidget(activity);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void updateLayers(OsmandMapTileView mapView, MapActivity activity) {
|
||||
|
||||
if (routeStepsControl == null) {
|
||||
registerWidget(activity);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue