[android] - remove projected meters per pixel and pixel ratio relation

The projected meters per pixel calculation is not dependent on the pixel ratio but rather the tile size, therefore, the division when fetching the value is not necessary.
This commit is contained in:
Łukasz Paczos
2019-10-02 13:15:26 +02:00
parent daf8e1289c
commit 7475247782
2 changed files with 2 additions and 2 deletions

View File

@@ -254,7 +254,7 @@ class NativeMapViewTest : AppCenter() {
@Test
@UiThreadTest
fun testGetProjectedMetersAtLatitude() {
val expected = 38986.83510557766
val expected = 77973.67021115532
val actual = nativeMapView.getMetersPerPixelAtLatitude(5.0)
assertEquals("Get projected meters should match", expected, actual)
}