ZylGMaps Delphi & C++Builder Component

Unit ZylGMaps

Description
Uses
Classes, Interfaces, Objects and Records
Functions and Procedures
Types
Constants
Variables

Description

Interactive map component which displays Google Maps or Open Street Map inside your applications. It supports markers, polygons, polylines, circles, rectangles, popups and tooltips. Geocoding and reverse geocoding are also available. It supports different events, like OnMapClick, OnMapDoubleClick, OnMapMouseMove, OnMapCenterChange, OnMapZoomChange, etc.

Overview

Classes, Interfaces, Objects and Records

Name Description
Class TGPSPosition TGPSPosition class contains all the position and current status related data.
Class TMarker Marker class.
Class TMarkers Marker collection class.
Class TPath Path class. Collection of GPS positions (polyline between positions).
Class TPaths Path collection.
Class TCircle Circle class.
Class TCircles Circle collection.
Class TRectangle Rectangle class.
Class TRectangles Rectangle collection.
Class TZylWebBrowser Custom web browser class.
Class TZylGMaps Map component for VCL. For Delphi 10.4 or later WebView2 runtime required: https://developer.microsoft.com/en-us/microsoft-edge/webview2/#download-section
Class EZylGMapsException Custom exception class.

Functions and Procedures

procedure Register;

Types

TCardinalPoint = (...);
TMapType = (...);
TMapProvider = (...);
TMarkerEvent = procedure(Sender: TObject; Marker: TMarker) of object;
TPathType = (...);
TPolylineType = TPathType;
TPolyline = TPath;
TPolylines = TPaths;
TPositionEvent = procedure(Sender: TObject; Latitude: Extended; Longitude: Extended) of object;
TZoomEvent = procedure(Sender: TObject; Zoom: Integer) of object;

Constants

EquatorialEarthRadius = 6378.1370;
MeanEarthRadius = 6371.0088;
MaxLatitude = 85.05112878;

Description

Functions and Procedures

procedure Register;

Register the component.

Types

TCardinalPoint = (...);

Cardinal Point enumeration type.

Values
  • cpNorth: North.
  • cpSouth: South.
  • cpEast: East.
  • cpWest: West.
TMapType = (...);

Google map type.

Values
  • mpRoadmap: Road map.
  • mpSatellite: Satellite view.
  • mpSatelliteWithStreetNames: Satellite view with street names.
  • mpTerrain: Terrain view.
TMapProvider = (...);

Map provider.

Values
  • mpGoogle: Google Maps
  • mpOSM: Open Street Map
TMarkerEvent = procedure(Sender: TObject; Marker: TMarker) of object;

Marker event.

TPathType = (...);

Path type. Can be polygon or polyline.

Values
  • Polyline: Polyline
  • Polygon: Polygon
TPolylineType = TPathType;

Path type. Can be polygon or polyline.

TPolyline = TPath;

Path class. Collection of GPS positions.

TPolylines = TPaths;

Path collection.

TPositionEvent = procedure(Sender: TObject; Latitude: Extended; Longitude: Extended) of object;

Position event type.

TZoomEvent = procedure(Sender: TObject; Zoom: Integer) of object;

Zoom event type.

Constants

EquatorialEarthRadius = 6378.1370;

Size of the Earth's radius at the equator in kilometers.

MeanEarthRadius = 6371.0088;

Mean Earth's radius in kilometers.

MaxLatitude = 85.05112878;

Maximum latitude.

Copyright © 2003 - 2026 by Zyl Soft. All rights reserved.
Generated by PasDoc 0.16.0.