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: docs/PUBLIC_API.md
+53-13Lines changed: 53 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -182,31 +182,66 @@ Methods available on the UiSettings object returned by `getUiSettings()`:
182
182
183
183
## GoogleMap Class - Event Listeners
184
184
185
+
OpenMapView provides comprehensive event listener support using Kotlin `fun interface` for single-method listeners (enabling lambda syntax) and regular `interface` for multi-method listeners. All callbacks execute on the UI thread.
|`setOnMarkerClickListener(OnMarkerClickListener)`|`void`| IMPLEMENTED |`fun interface` - Returns boolean to consume event (true = no info window/centering)|
|`setOnPolygonClickListener(OnPolygonClickListener)`|`void`| IMPLEMENTED |`fun interface` - Ray casting algorithm with hole support |
195
+
|`setOnCircleClickListener(OnCircleClickListener)`|`void`| IMPLEMENTED |`fun interface` - Distance-based hit testing (center to touch point)|
196
+
|`setOnGroundOverlayClickListener(OnGroundOverlayClickListener)`|`void`| IMPLEMENTED |`fun interface` - Rectangle bounds hit testing with rotation support |
195
197
|`setOnPoiClickListener(OnPoiClickListener)`|`void`| NOT PLANNED | POI data not available in OSM tiles |
196
-
|`setOnCameraMoveStartedListener(OnCameraMoveStartedListener)`|`void`| IMPLEMENTED |Tracks gesture, API, and developer-initiated moves |
197
-
|`setOnCameraMoveListener(OnCameraMoveListener)`|`void`| IMPLEMENTED | Called repeatedly during camera movement |
198
-
|`setOnCameraIdleListener(OnCameraIdleListener)`|`void`| IMPLEMENTED | Called when camera stops moving |
199
-
|`setOnCameraMoveCanceledListener(OnCameraMoveCanceledListener)`|`void`| IMPLEMENTED | Called when animation is interrupted |
|`setOnCameraMoveListener(OnCameraMoveListener)`|`void`| IMPLEMENTED |`fun interface` - Called repeatedly during camera movement (60fps) - keep lightweight!|
200
+
|`setOnCameraIdleListener(OnCameraIdleListener)`|`void`| IMPLEMENTED |`fun interface` - Called when camera stops moving (after gesture or animation completes)|
201
+
|`setOnCameraMoveCanceledListener(OnCameraMoveCanceledListener)`|`void`| IMPLEMENTED |`fun interface` - Called when animation interrupted by gesture or new camera command|
200
202
|`setOnMapLoadedCallback(OnMapLoadedCallback)`|`void`| NOT IMPLEMENTED | Tiles load asynchronously, callback could be added |
201
203
|`setInfoWindowAdapter(InfoWindowAdapter)`|`void`| NOT IMPLEMENTED | Custom adapters not yet implemented |
202
-
|`setOnInfoWindowClickListener(OnInfoWindowClickListener)`|`void`| IMPLEMENTED | Full support with basic info window rendering|
204
+
|`setOnInfoWindowClickListener(OnInfoWindowClickListener)`|`void`| IMPLEMENTED |`fun interface` - Full support with basic info window rendering |
203
205
|`setOnInfoWindowCloseListener(OnInfoWindowCloseListener)`|`void`| NOT IMPLEMENTED | Not applicable |
204
206
|`setOnInfoWindowLongClickListener(OnInfoWindowLongClickListener)`|`void`| NOT IMPLEMENTED | Not applicable |
205
207
|`setOnMyLocationButtonClickListener(OnMyLocationButtonClickListener)`|`void`| NOT IMPLEMENTED | Not applicable |
206
208
|`setOnMyLocationClickListener(OnMyLocationClickListener)`|`void`| NOT IMPLEMENTED | Not applicable |
207
209
|`setOnIndoorStateChangeListener(OnIndoorStateChangeListener)`|`void`| NOT PLANNED | Indoor mapping not supported |
208
210
|`getFocusedBuilding()`|`IndoorBuilding`| NOT PLANNED | Indoor mapping not supported |
0 commit comments