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
Copy file name to clipboardExpand all lines: examples/Example03Markers/README.md
+85-54Lines changed: 85 additions & 54 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,20 +1,19 @@
1
-
# Example03Markers - Marker Overlays and Click Handling
1
+
# Example03Markers - Marker Overlays and Interactive Management
2
2
3
3
[Back to README](../../README.md)
4
4
5
-
This example demonstrates the marker system in OpenMapView, including marker rendering, touch detection, and click event handling.
5
+
This example demonstrates the marker system in OpenMapView, including marker rendering, touch detection, info windows, and interactive marker management.
6
6
7
7
## Features Demonstrated
8
8
9
-
- Multiple markers at different geographic locations
10
-
- Default red teardrop marker icons with color variations
9
+
- Multiple markers at real Bochum landmark locations
10
+
- Default teardrop marker icons with color variations
11
11
- Both API styles: Kotlin direct instantiation and Google Maps builder pattern
| Center | 51.4661°N, 7.2491°E | Bochum City Center |
116
-
| North | 51.4700°N, 7.2550°E | North Location |
117
-
| South | 51.4620°N, 7.2430°E | South Location |
118
-
| West | 51.4680°N, 7.2380°E | West Location |
119
-
| East | 51.4640°N, 7.2600°E | East Location |
143
+
This example displays 6 markers at notable Bochum landmarks:
120
144
121
-
**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.
0 commit comments