Use native utilities

This commit is contained in:
Alex Sytnyk 2018-10-08 19:00:29 +03:00
parent 8b941f0dc9
commit 27a2beab33

View file

@ -613,8 +613,8 @@ public class ContextMenuLayer extends OsmandMapLayer {
billboardMapSymbol = null; billboardMapSymbol = null;
} }
if (billboardMapSymbol != null) { if (billboardMapSymbol != null) {
double lat = MapUtils.get31LatitudeY(billboardMapSymbol.getPosition31().getY()); double lat = Utilities.get31LatitudeY(billboardMapSymbol.getPosition31().getY());
double lon = MapUtils.get31LongitudeX(billboardMapSymbol.getPosition31().getX()); double lon = Utilities.get31LongitudeX(billboardMapSymbol.getPosition31().getX());
objectLatLon = new LatLon(lat, lon); objectLatLon = new LatLon(lat, lon);
AdditionalBillboardSymbolInstanceParameters billboardAdditionalParams; AdditionalBillboardSymbolInstanceParameters billboardAdditionalParams;