Skip to content

Commit 16949de

Browse files
committed
fix(android): regression fix
1 parent 903066f commit 16949de

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/core/index.android.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,11 +167,11 @@ export function toNativeScreenPos(position: ScreenPos) {
167167
// };
168168
// }
169169
// }
170-
export function fromNativeMapRange(value: NTMapRange) {
170+
export function fromNativeMapRange(value: com.carto.core.MapRange) {
171171
return [value.getMax(), value.getMin()] as MapRange;
172172
}
173173
export function toNativeMapRange(value: MapRange) {
174-
if (value instanceof NTMapRange) {
174+
if (value instanceof com.carto.core.MapRange) {
175175
return value;
176176
}
177177
// ignore z for now as points can get under the map!

0 commit comments

Comments
 (0)