[update] pull in latest for gl-native
This commit is contained in:
@@ -620,7 +620,7 @@ final class NativeMapView implements NativeMap {
|
||||
if (checkState("getMetersPerPixelAtLatitude")) {
|
||||
return 0;
|
||||
}
|
||||
return nativeGetMetersPerPixelAtLatitude(lat, getZoom()) / pixelRatio;
|
||||
return nativeGetMetersPerPixelAtLatitude(lat, getZoom());
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -724,6 +724,23 @@ final class NativeMapView implements NativeMap {
|
||||
return nativeGetPrefetchTiles();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setPrefetchZoomDelta(@IntRange(from = 0) int delta) {
|
||||
if (checkState("nativeSetPrefetchZoomDelta")) {
|
||||
return;
|
||||
}
|
||||
nativeSetPrefetchZoomDelta(delta);
|
||||
}
|
||||
|
||||
@Override
|
||||
@IntRange(from = 0)
|
||||
public int getPrefetchZoomDelta() {
|
||||
if (checkState("nativeGetPrefetchZoomDelta")) {
|
||||
return 0;
|
||||
}
|
||||
return nativeGetPrefetchZoomDelta();
|
||||
}
|
||||
|
||||
// Runtime style Api
|
||||
|
||||
@Override
|
||||
@@ -1383,6 +1400,12 @@ final class NativeMapView implements NativeMap {
|
||||
@Keep
|
||||
private native boolean nativeGetPrefetchTiles();
|
||||
|
||||
@Keep
|
||||
private native void nativeSetPrefetchZoomDelta(int delta);
|
||||
|
||||
@Keep
|
||||
private native int nativeGetPrefetchZoomDelta();
|
||||
|
||||
@Override
|
||||
public long getNativePtr() {
|
||||
return nativePtr;
|
||||
|
||||
Reference in New Issue
Block a user