24.10.2014 Views

TMS iCL DEVELOPERS GUIDE - TMS Software

TMS iCL DEVELOPERS GUIDE - TMS Software

TMS iCL DEVELOPERS GUIDE - TMS Software

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>TMS</strong> SOFTWARE<br />

<strong>TMS</strong> <strong>iCL</strong><br />

<strong>DEVELOPERS</strong> <strong>GUIDE</strong><br />

T<strong>TMS</strong>FMXNativeMKOverlay)<br />

SelectAnnotaion(AAnnotation:<br />

T<strong>TMS</strong>FMXNativeMKAnnotation; AAnimated:<br />

Boolean)<br />

SetCenterLocation(ALocation:<br />

T<strong>TMS</strong>FMXNativeMKMapLocation)<br />

SetRegion(ARegion: T<strong>TMS</strong>FMXNativeMKMapRegion;<br />

AAnimated: Boolean)<br />

SetRegion(ATopLeftLocation,<br />

ABottomRightLocation:<br />

T<strong>TMS</strong>FMXNativeMKMapLocation; AAnimated:<br />

Boolean)<br />

XYToCoordinate(X, Y: Single):<br />

T<strong>TMS</strong>FMXNativeMKMapLocation<br />

ZoomToFitAnnotations(AIncludeUserLocation:<br />

Boolean = false; ALatitudeSpanOffset: Double = 0;<br />

ALongitudeSpanOffset: Double = 0);<br />

collection and the MapView.<br />

Selects a specific annotation and shows the<br />

callout, with or without animation.<br />

Centers the map at a specific location.<br />

Sets the visible region of the MapView.<br />

Sets the visible region of the MapView with<br />

TopLeft and BottomRight coordinates.<br />

Returns a latitude and longitude of an X and Y<br />

coordinate on the map based on the current<br />

region of the MapView.<br />

Zoom the mapview to show/fit all annotations<br />

with optional parameters to include user<br />

location and additional region span offset.<br />

Events<br />

OnAnnotationDragStateChanged<br />

OnAnnotationLeftCalloutAccessoryTapped<br />

OnAnnotationRightCalloutAccessoryTapped<br />

OnClick<br />

OnDidDeselectAnnotationView<br />

OnDidFailLoadingMap<br />

OnDidFailToLocateUser<br />

Event called when a pin is being dragged to a<br />

new location.<br />

Event called when the left callout accessory is<br />

tapped on an annotation.<br />

Event called when the right callout accessory is<br />

tapped on an annotation.<br />

Event called when clicking on the map. The<br />

latitude and longitude of the position on the<br />

map are passed as parameters.<br />

Event called when deselectin an annotation.<br />

Event called when the map loading failed.<br />

Event called when the map did fail to locate the<br />

user location when the user location is active.<br />

68

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!