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
{{ message }}
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.
@tobrungetMetersPerPixelAtLatitude document said that Returns the distance spanned by one pixel at the specified latitude and current zoom level. The one pixel means 1dp or 1px? Can you tell me?
It should be 1px as the documentation and API would indicate. That said, I'm not seeing the required conversion in place to actually convert dp to px. Thank you for the report @Larnoo.
Reopening this, after cross comparing other bindings it seems that the assumptions in OP aren't correct. Going to revert this change before a final release.
Platform: android
Mapbox SDK version: 5.0.0
Steps to trigger behavior
getMetersPerPixelAtLatitude()
is 300. This means 1px is 300 meters?Or 1dp is 300 meters?
I test result may be that 1dp is 300 meters.
But why the method name is
PerPixel
?The text was updated successfully, but these errors were encountered: