TTMSFNCMapBox Class
Displays interactive Mapbox maps with markers, shapes, routes, 3D styles, and browser-backed provider services.
API unit family: TMSFNCMapBox
Inherits from: TTMSFNCCustomMapBox
Syntax
TTMSFNCMapBox = class(TTMSFNCCustomMapBox)
Properties
| Name |
Description |
| Markers |
Contains the marker overlays displayed by the map. (inherited from TTMSFNCCustomMapBox) |
| Options |
Provides access to the provider-specific map options. (inherited from TTMSFNCCustomMapBox) |
Methods
| Name |
Description |
| AddBridge |
Adds a bridge object for browser communication. |
| AddMarker |
Adds a marker at the specified coordinate. (inherited from TTMSFNCCustomMapBox) |
| CanGoBack |
Returns whether browser history can navigate back. |
| CanGoForward |
Returns whether browser history can navigate forward. |
| CaptureScreenShot |
Captures a screenshot of the browser surface. |
| Clear |
Clears provider-specific map objects and resets the map state. (inherited from TTMSFNCCustomMapBox) |
| ClearCache |
Clears the browser cache. |
| DeInitialize |
Releases the browser and map surface. |
| EndUpdate |
Ends a batched update and refreshes provider-specific overlays. (inherited from TTMSFNCCustomMapBox) |
| ExecuteJavaScript |
Executes JavaScript in the browser surface. |
| ExecuteJavaScriptSync |
Executes JavaScript synchronously and returns its result. |
| GoBack |
Navigates back in browser history. |
| GoForward |
Navigates forward in browser history. |
| Initialize |
Initializes the browser and map surface. |
| IsFMXBrowser |
Returns whether the active browser is the framework browser. |
| LoadFile |
Loads a local file into the browser surface. |
| LoadHTML |
Loads HTML content into the browser surface. |
| NativeBrowser |
Returns the native browser pointer. |
| NativeDialog |
Returns the native dialog pointer. |
| NativeEnvironment |
Returns the native browser environment pointer. |
| Navigate |
Navigates to the configured map URL. |
| Reload |
Reloads the browser surface. |
| RemoveBridge |
Removes a browser communication bridge. |
| ShowDebugConsole |
Shows the browser debug console. |
| StopLoading |
Stops the current browser load operation. |
Events
| Name |
Description |
| OnMarkerDragEnd |
Occurs when a draggable marker has finished being moved. (inherited from TTMSFNCCustomMapBox) |