[android] - add LatLng for pixel conversion feature to MapSnapshotter

This commit is contained in:
tobrun
2018-06-26 16:21:16 +02:00
committed by Tobrun
parent d4ca3014eb
commit 473dd9b23f
4 changed files with 25 additions and 2 deletions

View File

@@ -42,6 +42,14 @@ public class MapSnapshot {
*/
public native PointF pixelForLatLng(LatLng latLng);
/**
* Calculate geographical coordinates from a point in pixels on the Image
*
* @param pointF the point in pixels
* @return the geographical coordinates
*/
public native LatLng latLngForPixel(PointF pointF);
/**
* @return The attributions for the sources of this snapshot.
*/