[android] - add LatLng for pixel conversion feature to MapSnapshotter
This commit is contained in:
@@ -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.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user