Table of Contents

TTMSFNCCustomMaps Class

Implements the shared map control, collections, provider integration, and import/export helpers.

API unit family: TMSFNCMaps Inherits from: TTMSFNCCustomWebBrowser Implements: ITMSFNCCustomMapsProperties

Syntax

TTMSFNCCustomMaps = class(TTMSFNCCustomWebBrowser, ITMSFNCCustomMapsProperties)

Properties

Name Description
RouteCalculatorSelectedMarker Route Calculator Selected Marker value.
RouteCalculatorSelectedPolyline Route Calculator Selected Polyline value.

Methods

Name Description
AddCircle Creates and returns circle.
AddElementContainer Creates and returns element container.
AddHeadLink Creates and returns head link.
AddLabel Creates and returns label.
AddMarker Creates and returns marker.
AddPolygon Creates and returns polygon.
AddPolyline Creates and returns polyline.
AddRectangle Creates and returns rectangle.
BeginUpdate Starts a batched update operation.
Clear Removes all items from the collection.
ClearCircles Removes circles.
ClearElementContainers Removes element containers.
ClearHeadLinks Removes head links.
ClearLabels Removes labels.
ClearMarkers Removes markers.
ClearPolygons Removes polygons.
ClearPolylines Removes polylines.
ClearRectangles Removes rectangles.
CloseAllPopups Closes all open popups.
ClosePopup Closes the popup with the specified identifier.
ConnectMarkers Executes connect markers.
CoordinateToXY Converts a geographic coordinate to a map pixel position.
EndUpdate Ends a batched update operation and applies pending changes.
GetBounds Returns bounds.
GetCenterCoordinate Returns center coordinate.
GetHTML Returns html.
GetZoomLevel Returns zoom level.
LatLonToXY Converts a geographic coordinate to a map pixel position.
LoadGeoJSONFromFile Loads GeoJSON content and optionally creates map elements from it.
LoadGeoJSONFromStream Loads GeoJSON content and optionally creates map elements from it.
LoadGeoJSONFromText Loads GeoJSON content and optionally creates map elements from it.
ReInitialize Rebuilds and reloads the map page.
RouteCalculatorClearRoutes Updates map elements used by the route calculator.
RouteCalculatorDeleteMarker Updates map elements used by the route calculator.
RouteCalculatorDeletePolyline Updates map elements used by the route calculator.
RouteCalculatorDeleteSelectedMarker Updates map elements used by the route calculator.
RouteCalculatorDeleteSelectedPolyline Updates map elements used by the route calculator.
RouteCalculatorPlotRoute Updates map elements used by the route calculator.
RouteCalculatorPlotRoutes Updates map elements used by the route calculator.
SaveToGPXFile Exports coordinates and optional metadata to GPX content.
SaveToGPXStream Exports coordinates and optional metadata to GPX content.
SaveToGPXText Exports coordinates and optional metadata to GPX content.
SetCenterCoordinate Sets center coordinate.
SetZoomLevel Sets zoom level.
ShowPopup Displays a popup at the specified coordinate.
UpdateControlAfterResize Executes update control after resize.
XYToCoordinate Converts a map pixel position to a geographic coordinate.
XYToLatLon Converts a map pixel position to a geographic coordinate.
ZoomToBounds Adjusts the map view to include the specified bounds or coordinates.