Update icons

This commit is contained in:
Victor Shcherb 2012-07-29 15:02:46 +02:00
parent cb16896643
commit a002263996

View file

@ -79,6 +79,7 @@ public class ParkingPositionPlugin extends OsmandPlugin {
public void registerLayers(MapActivity activity) {
if(parkingLayer == null) {
parkingLayer = new ParkingPositionLayer(activity);
activity.getMapView() .addLayer(parkingLayer, 5);
}
registerWidget(activity);
}
@ -90,10 +91,9 @@ public class ParkingPositionPlugin extends OsmandPlugin {
} else {
if (parkingLayer == null) {
registerLayers(activity);
mapView.addLayer(parkingLayer, 5);
}
}
if(parkingPlaceControl == null){
if (parkingPlaceControl == null) {
registerWidget(activity);
}
}