Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
f400df6d6e
1 changed files with 3 additions and 1 deletions
|
@ -8,6 +8,7 @@ import android.widget.ImageView;
|
|||
import android.widget.TextView;
|
||||
|
||||
import net.osmand.data.RotatedTileBox;
|
||||
import net.osmand.data.PointDescription;
|
||||
import net.osmand.plus.IconsCache;
|
||||
import net.osmand.plus.R;
|
||||
import net.osmand.plus.activities.MapActivity;
|
||||
|
@ -47,7 +48,8 @@ public class MoveMarkerBottomSheetHelper {
|
|||
PointF point = mContextMenuLayer.getMovableCenterPoint(rt);
|
||||
double lat = rt.getLatFromPixel(point.x, point.y);
|
||||
double lon = rt.getLonFromPixel(point.x, point.y);
|
||||
mDescription.setText(mContext.getString(R.string.lat_lon_pattern, lat, lon));
|
||||
//mDescription.setText(mContext.getString(R.string.lat_lon_pattern, lat, lon));
|
||||
mDescription.setText(PointDescription.getLocationName(mContext, lat, lon, true));
|
||||
}
|
||||
|
||||
public boolean isVisible() {
|
||||
|
|
Loading…
Reference in a new issue