commit
a92f8b5db5
2 changed files with 3 additions and 2 deletions
|
@ -199,7 +199,8 @@ public class MapViewTrackingUtilities implements OsmAndLocationListener, IMapLoc
|
||||||
showViewAngle = routePlanningMode; // disable compass rotation in that mode
|
showViewAngle = routePlanningMode; // disable compass rotation in that mode
|
||||||
}
|
}
|
||||||
registerUnregisterSensor(location);
|
registerUnregisterSensor(location);
|
||||||
if (settings.ANIMATE_MY_LOCATION.get() && !smallSpeedForAnimation && !movingToMyLocation) {
|
if (settings.ANIMATE_MY_LOCATION.get() && !smallSpeedForAnimation && !movingToMyLocation &&
|
||||||
|
settings.WAKE_ON_VOICE_INT.get() == 0) {
|
||||||
mapView.getAnimatedDraggingThread().startMoving(
|
mapView.getAnimatedDraggingThread().startMoving(
|
||||||
location.getLatitude(), location.getLongitude(), zoom, rotation, false);
|
location.getLatitude(), location.getLongitude(), zoom, rotation, false);
|
||||||
} else {
|
} else {
|
||||||
|
|
|
@ -189,7 +189,7 @@ public class MapillaryPlugin extends OsmandPlugin {
|
||||||
|
|
||||||
private TextInfoWidget createMonitoringControl(final MapActivity map) {
|
private TextInfoWidget createMonitoringControl(final MapActivity map) {
|
||||||
mapillaryControl = new TextInfoWidget(map);
|
mapillaryControl = new TextInfoWidget(map);
|
||||||
mapillaryControl.setText("", map.getString(R.string.mapillary));
|
mapillaryControl.setText(map.getString(R.string.mapillary), "");
|
||||||
mapillaryControl.setIcons(R.drawable.widget_mapillary_day, R.drawable.widget_mapillary_night);
|
mapillaryControl.setIcons(R.drawable.widget_mapillary_day, R.drawable.widget_mapillary_night);
|
||||||
mapillaryControl.setOnClickListener(new View.OnClickListener() {
|
mapillaryControl.setOnClickListener(new View.OnClickListener() {
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in a new issue