Map | |
Type | widget |
Dictionary | native.map |
Library | Map |
Associations | com.livecode.widget.native.map |
Summary | A map widget for Android, iOS, 64-bit Mac, and Web. |
OS | android, ios, mac, web |
Description | This widget wraps an MKMapView on iOS and 64-bit Mac, a GoogleMap on Android, and the GoogleMaps JavaScript API on Web. It supports simple markers and polylines.
|
Type | Name | Summary | Syntax |
---|---|---|---|
message | markerSelected | Sent when a map marker is selected | markerSelected <pMarkerTag> |
- - - | regionChanged | Sent when the map region changes | regionChanged |
property | animateMovement | Whether the movement of the map view is animated or not. | set the animateMovement of <widget> to { true | false } get the animateMovement of <widget> |
- - - | centerCoordinates | The coordinates at which the map view is centered. | set the centerCoordinates of <widget> to <pCoordinates> get the centerCoordinates of <widget> |
- - - | markers | Marker points on the map | set the markers of <widget> to <pMarkerData> get the markers of <widget> |
- - - | polylines | Polylines on the map | set the polylines of <widget> to <pMarkerData> get the polylines of <widget> |
- - - | region | The region displayed by the map | set the region of <widget> to <pRegion> get the region of <widget> |
- - - | scrollEnabled | Whether the scrollbar is enabled | set the scrollEnabled of <widget> to { true | false } get the scrollEnabled of <widget> |
- - - | showsUserLocation | Whether to show the user's current location | set the showsUserLocation of <widget> to { true | false } get the showsUserLocation of <widget> |
- - - | span | The extent of the map displayed by the widget. | set the span of <widget> to <pSpan> get the span of <widget> |
- - - | zoomEnabled | Whether map zoom is enabled | set the zoomEnabled of <widget> to { true | false } get the zoomEnabled of <widget> |
widget | Map | A map widget for Android, iOS, 64-bit Mac, and Web. | set the zoomEnabled of <widget> to { true | false } get the zoomEnabled of <widget> |