mergMK | |
Type | library |
Dictionary | LCS |
Library | LiveCode Script |
Associations | mergmk |
Description | mergMK is a LiveCode MapKit external that adds a map control which supports showing user location with heading, adding annotation pins and polylines, polygons and circles. Important: The Map Kit framework uses Google services to provide map data pre-iOS 6. Use of specific classes of this framework (and their associated interfaces) binds you to the Google Maps/Google Earth API terms of service. You can find these terms of service at here. |
Type | Name | Summary | Syntax |
---|---|---|---|
command | mergMKAnnotationSet | Set individual annotation properties | mergMKAnnotationSet <pAnnotationID>, <pProperty>, <pValue> |
- - - | mergMKCreate | This command initialises/creates the map but does not display it | mergMKCreate |
- - - | mergMKDelete | This command deletes the current map and removes it from the screen if it's currently visible | mergMKDelete |
- - - | mergMKDeleteAnnotation | This command deletes the annotation from the map | mergMKDeleteAnnotation <pAnnotationID> |
- - - | mergMKDeleteOverlay | This command deletes the overlay from the map | mergMKDeleteOverlay <pOverlayID> |
- - - | mergMKDirectionsAddPolylineOverlay | Add a polyline overlay showing the directions for a route or a step within a route | mergMKDirectionsAddPolylineOverlay <pDirectionID>, <pRouteNumber>, [<pStepNumber>], [<pLineWidth>], [<pLineColor>] |
- - - | mergMKDirectionsDelete | Delete the directions | mergMKDirectionsDelete <pDirectionID> |
- - - | mergMKGetDirections | Get directions between two coordinates | mergMKGetDirections <pFromCoordinate>, <pToCoordinate> |
- - - | mergMKSet | Set the properties of the map | mergMKSet <pProperty>, <pValue>, [<pAnimated>] |
function | mergMKAddAnnotation | Returns an id for the annotation that was created | mergMKAddAnnotation(<pCoordinate>, <pTitle>, [<pSubtitle>], [<pShowCallout>], [<pAnimateDrop>], [<pPinColor>], [<pDraggable>], [<pCalloutImage>], [<pShowCalloutButton>]) |
- - - | mergMKAddAnnotationWithImage | Returns an id for the annotation that was created | mergMKAddAnnotationWithImage(<pCoordinate>, <pTitle>, <pImage>, [<pSubtitle>], [<pShowCallout>], [<pAnimateDrop>], [<pDraggable>], [<pImageCenterOffset>], [<pCalloutImage>], [<pShowCalloutButton>]) |
- - - | mergMKAddCircleOverlay | Returns an id for the overlay that was created | mergMKAddCircleOverlay(<pCoordinate>, <pRadius>, [<pLineWidth>], [<pLineColor>], [<pFillColor>]) |
- - - | mergMKAddPolygonOverlay | Returns an id for the overlay that was created | mergMKAddPolygonOverlay(<pCoordinates>, [<pLineWidth>], [<pLineColor>], [<pFillColor>]) |
- - - | mergMKAddPolylineOverlay | Returns an id for the overlay that was created | mergMKAddPolylineOverlay(<pCoordinates>, [<pLineWidth>], [<pLineColor>]) |
- - - | mergMKAnnotationGet | Get individual annotation properties | mergMKAnnotationGet(<pAnnotationID>, <pProperty>) |
- - - | mergMKDirectionsRouteGet | Get a property of a directions route | mergMKDirectionsRouteGet(<pDirectionID>, <pRouteNumber>, <pProperty>) |
- - - | mergMKDirectionsRouteStepGet | Get a property of a directions route step | mergMKDirectionsRouteStepGet(<pDirectionID>, <pRouteNumber>, <pStepNumber>, <pProperty>) |
- - - | mergMKGet | Get a map property | mergMKGet(<pProperty>) |
library | mergMK | mergMKGet(<pProperty>) | |
message | mergMKAnnotationCalloutTapped | This message is sent to the object that created the map control when the user touches on the callout disclosure icon of an annotation | mergMKAnnotationCalloutTapped <pAnnotationID> |
- - - | mergMKAnnotationDeselected | This message is sent to the object that created the map control when an annotation pin is deselected (user touches somewhere else) | mergMKAnnotationDeselected <pAnnotationID> |
- - - | mergMKAnnotationDropped | This message is sent to the object that created the map control when an annotation pin is dragged and dropped to a new location | mergMKAnnotationDropped <pAnnotationID>, <pCoordinate> |
- - - | mergMKAnnotationSelected | This message is sent to the object that created the map control when the user touches an annotation | mergMKAnnotationSelected <pAnnotationID> |
- - - | mergMKDirections | This message is sent to the object that called mergMKGetDirections when directions have been determined | mergMKDirections <pFromCoordinate>, <pToCoordinate>, <pDirectionsID>, <pRoutes> |
- - - | mergMKDirectionsError | This message is sent to the object that called mergMKGetDirections when there is an error determining directions | mergMKDirectionsError <pFromCoordinate>, <pToCoordinate>, <pError> |
- - - | mergMKMapLoaded | This message is sent to the object that created the map control when the map is loaded | mergMKMapLoaded |
- - - | mergMKRegionChanged | This message is sent to the object that created the map control when the map region is changed either by the user or by script | mergMKRegionChanged <pRegion> |
- - - | mergMKUserLocationChanged | This message is sent to the object that created the map control when the user's location is updated on the map | mergMKUserLocationChanged <pCoordinate> |
- - - | mergMKUserTrackingModeChanged | This message is sent to the object that created the map control when the user tracking mode is changed | mergMKUserTrackingModeChanged <pTrackingMode> |