Search in sources :

Example 11 with PointI

use of net.osmand.core.jni.PointI in project Osmand by osmandapp.

the class MainActivity method showContextMarker.

public void showContextMarker(@NonNull LatLon location) {
    mapView.suspendSymbolsUpdate();
    PointI locationI = Utilities.convertLatLonTo31(new net.osmand.core.jni.LatLon(location.getLatitude(), location.getLongitude()));
    contextPinMarker.setPosition(locationI);
    contextPinMarker.setIsHidden(false);
    mapView.resumeSymbolsUpdate();
}
Also used : PointI(net.osmand.core.jni.PointI)

Aggregations

PointI (net.osmand.core.jni.PointI)11 LatLon (net.osmand.data.LatLon)4 RotatedTileBox (net.osmand.data.RotatedTileBox)2 Location (net.osmand.Location)1 MapRendererView (net.osmand.core.android.MapRendererView)1 TileSourceProxyProvider (net.osmand.core.android.TileSourceProxyProvider)1 AreaI (net.osmand.core.jni.AreaI)1 MapLayerConfiguration (net.osmand.core.jni.MapLayerConfiguration)1 QuadPoint (net.osmand.data.QuadPoint)1 ITileSource (net.osmand.map.ITileSource)1 OsmandSettings (net.osmand.plus.OsmandSettings)1