You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not sure when this change was introduced, but the getPointInView method on Android now returns actual screen resolution pixels, not density-independent pixels.
I'm using the following fix in my app, but this should probably be fixed in the library.
let point = await this._map.getPointInView(coordinate);
if (Platform.OS === 'android') {
point = point.map(x => x / PixelRatio.get());
}
The text was updated successfully, but these errors were encountered:
Not sure when this change was introduced, but the
getPointInView
method on Android now returns actual screen resolution pixels, not density-independent pixels.I'm using the following fix in my app, but this should probably be fixed in the library.
The text was updated successfully, but these errors were encountered: