Skip to content

Commit e0a6cbc

Browse files
committed
Explain web mercator distortion
1 parent 0eaba34 commit e0a6cbc

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ ext["libVersion"] = try {
1414
}
1515

1616
plugins {
17-
id("com.android.library") version "8.7.0" apply false
18-
id("com.android.application") version "8.7.0" apply false
17+
id("com.android.library") version "8.11.2" apply false
18+
id("com.android.application") version "8.11.2" apply false
1919
id("org.jetbrains.kotlin.android") version "2.0.21" apply false
2020
id("org.jetbrains.kotlin.plugin.compose") version "2.0.21" apply false
2121
id("com.diffplug.spotless") version "6.25.0" apply false

examples/Example03Markers/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,8 @@ This example displays 5 markers:
101101
| West | 51.4680°N, 7.2380°E | West Location |
102102
| East | 51.4640°N, 7.2600°E | East Location |
103103

104+
**Note on marker positioning:** While the 4 outer markers are placed on N, S, W, E sides of the central marker (by adjusting latitude/longitude), they do not appear strictly above, below, left, right on the screen. This is due to the Web Mercator projection used by OpenStreetMap, which distorts distances and angles, especially at higher latitudes. The further from the equator, the more pronounced this distortion becomes.
105+
104106
## Custom Marker Icons
105107

106108
To use custom marker icons instead of the default red teardrop:

0 commit comments

Comments
 (0)