Table of Contents

TTMSFNCMapKit Class

Displays an interactive MapKit map and exposes browser-backed map operations.

API unit family: TMSFNCMapKit Inherits from: TTMSFNCCustomMapKit

Syntax

TTMSFNCMapKit = class(TTMSFNCCustomMapKit)

Properties

Name Description
Directions Contains the directions requests displayed by the map. (inherited from TTMSFNCCustomMapKit)
Options Contains provider-specific map options. (inherited from TTMSFNCCustomMapKit)
Polygons Contains the polygons displayed by the map. (inherited from TTMSFNCCustomMapKit)

Methods

Name Description
AddBridge Adds an object bridge that can be called from browser script.
AddPolygon Adds a polygon from an array of coordinates. (inherited from TTMSFNCCustomMapKit)
CanGoBack Indicates whether the browser can navigate backward.
CanGoForward Indicates whether the browser can navigate forward.
CaptureScreenShot Captures a screenshot of the embedded browser content.
Clear Clears map content managed by the control. (inherited from TTMSFNCCustomMapKit)
ClearCache Clears cached browser data.
ClearDirections Removes all directions items from the map. (inherited from TTMSFNCCustomMapKit)
DeInitialize Deinitializes the embedded browser and map runtime.
EndUpdate Completes a batched update and refreshes pending directions changes. (inherited from TTMSFNCCustomMapKit)
ExecuteJavaScript Executes JavaScript in the embedded browser.
ExecuteJavaScriptSync Executes JavaScript synchronously in the embedded browser.
GetBridgeCommunicationLayer Returns the browser communication script for a bridge.
GetWebBrowserInstance Returns the native browser interface instance.
GoBack Navigates backward in the embedded browser history.
GoForward Navigates forward in the embedded browser history.
Initialize Initializes the embedded browser and map runtime.
IsFMXBrowser Indicates whether the control uses the native FMX browser implementation.
LoadFile Loads a local file into the embedded browser.
LoadHTML Loads raw HTML into the embedded browser.
NativeBrowser Returns the native browser instance pointer.
NativeDialog Returns the native dialog pointer used by the browser platform layer.
NativeEnvironment Returns the native browser environment pointer.
Navigate Navigates the embedded browser to the current map content.
Reload Reloads the current browser content.
RemoveBridge Removes an object bridge from the browser layer.
ShowDebugConsole Shows the browser debug console when the platform supports it.
StopLoading Stops the current browser load operation.

Events

Name Description
OnMapRotationChanged Occurs when the map rotation changes. (inherited from TTMSFNCCustomMapKit)
OnRetrievedDirectionsData Occurs after directions data has been retrieved and parsed. (inherited from TTMSFNCCustomMapKit)