Fix #3674; fix text in mapillary widget
This commit is contained in:
parent
a039a400cf
commit
54cd71b4b1
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
|
||||
}
|
||||
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(
|
||||
location.getLatitude(), location.getLongitude(), zoom, rotation, false);
|
||||
} else {
|
||||
|
|
|
@ -189,7 +189,7 @@ public class MapillaryPlugin extends OsmandPlugin {
|
|||
|
||||
private TextInfoWidget createMonitoringControl(final MapActivity 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.setOnClickListener(new View.OnClickListener() {
|
||||
@Override
|
||||
|
|
Loading…
Reference in a new issue