-
Notifications
You must be signed in to change notification settings - Fork 42
MapView API
peterLaurence edited this page Mar 23, 2020
·
2 revisions
This page is under construction - it isn't complete yet.
| addMarker | Add a marker to the the MapView. The marker can be any View. No LayoutParams are required; the View will be laid out using WRAP_CONTENT for both width and height, and positioned based on the parameters.
Params
|
| moveMarker | Moves an existing marker to another position.
Params
|
| setMarkerTapListener | Set a MarkerTapListener for the MapView instance (rather than on a single marker view). Unlike standard touch events attached to marker View's (e.g., View.OnClickListener), MarkerTapListener.onMarkerTapEvent does not consume the touch event, so will not interfere with scrolling.
|
| addCallout | Add a callout to the the MapView. The callout can be any View. No LayoutParams are required; the View will be laid out using WRAP_CONTENT for both width and height, and positioned based on the parameters.
|