| cadetill's blog | Copyright © Xavier Martínez (cadetill) |
Class TGMMapEdge
Unit
Declaration
type TGMMapEdge = class(TGMMap)
Description
Base class for google.maps.Map class.
{$ENDIF} {$IFDEF DELPHIALEXANDRIA}
Implements IGMExecJS and IGMControlChanges interfaces.
More information at google.maps.Map class
Hierarchy
- TObject
- TPersistent
- TComponent
- TGMComponent
- TGMCustomMap
- TGMMap
- TGMMapEdge
Overview
Methods
![]() |
constructor Create(AOwner: TComponent); override; |
![]() |
procedure ExecuteJavaScript(FunctName, Params: string); override; |
![]() |
procedure LoadBlankPage; override; |
![]() |
procedure LoadMap; override; |
Properties
![]() |
property AboutGMLib; |
![]() |
property Active; |
![]() |
property AfterPageLoaded; |
![]() |
property APIKey; |
![]() |
property APILang; |
![]() |
property APIRegion; |
![]() |
property APIUrl; |
![]() |
property APIVer; |
![]() |
property Browser: TEdgeBrowser read GetWebBrowser write SetWebBrowser; |
![]() |
property ByciclingLayer; |
![]() |
property IntervalEvents; |
![]() |
property KmlLayer; |
![]() |
property Language; |
![]() |
property MapOptions; |
![]() |
property OnActiveChange; |
![]() |
property OnBoundsChanged; |
![]() |
property OnCenterChanged; |
![]() |
property OnClick; |
![]() |
property OnContextmenu; |
![]() |
property OnDblClick; |
![]() |
property OnDrag; |
![]() |
property OnDragEnd; |
![]() |
property OnDragStart; |
![]() |
property OnIntervalEventsChange; |
![]() |
property OnMapTypeIdChanged; |
![]() |
property OnMouseMove; |
![]() |
property OnMouseOut; |
![]() |
property OnMouseOver; |
![]() |
property OnPrecisionChange; |
![]() |
property OnPropertyChanges; |
![]() |
property OnZoomChanged; |
![]() |
property TrafficLayer; |
![]() |
property TransitLayer; |
Description
Methods
![]() |
constructor Create(AOwner: TComponent); override; |
|
Class constructor.
Creates a TGMCustomMap object.
Parameters
| |
![]() |
procedure LoadBlankPage; override; |
|
LoadBlankPage method load the about:blank page.
Exceptions raised
| |
![]() |
procedure LoadMap; override; |
|
LoadMap method loads and shows the map.html to use Google Maps API.
The timeout for load page is 15 seconds.
Exceptions raised
| |
Properties
![]() |
property AboutGMLib; |
|
This property shows an "About" form with GMLib info. | |
![]() |
property Active; |
|
Activate or deactivate access to the map. | |
![]() |
property AfterPageLoaded; |
|
AfterPageLoaded event is fired when page is loaded.
If param See TGMAfterPageLoaded for more info. | |
![]() |
property APILang; |
|
By default the API will attempt to load the most appropriate language based on the users location or browser settings.
But some APIs allow you to explicitly set a language when you make a request. More info at Localizing the Map and more specific at Supported Languages
Exceptions raised
| |
![]() |
property APIRegion; |
|
When you load the Maps JavaScript API from maps.googleapis.com it applies a default bias for application behavior towards the United States.
If you want to alter your application to serve different map tiles or bias the application (such as biasing geocoding results towards the region), you can override this default behavior by adding a region. More info at Localizing the Map and more specific at Google Maps Platform Coverage Details
Exceptions raised
| |
![]() |
property APIUrl; |
|
URL to Google Maps API page. | |
![]() |
property APIVer; |
|
Version of the Google Maps API to use.
More info at Versioning
Exceptions raised
| |
![]() |
property Browser: TEdgeBrowser read GetWebBrowser write SetWebBrowser; |
|
Browser where display the Google Maps map. | |
![]() |
property ByciclingLayer; |
|
Class for
More information at google.maps.BicyclingLayer class | |
![]() |
property IntervalEvents; |
|
Interval of time to check the events of map. | |
![]() |
property KmlLayer; |
|
Class for
More information at google.maps.KmlLayer class | |
![]() |
property Language; |
|
Language property specifies the language in which messages are displayed the exceptions raised by GMLib.
| |
![]() |
property MapOptions; |
|
Base class for
This class implements | |
![]() |
property OnActiveChange; |
|
OnActiveChange event is fired when Active property value changes. | |
![]() |
property OnBoundsChanged; |
|
This event is fired when the viewport bounds have changed.
See TGMBoundsChangedEvent for more info. | |
![]() |
property OnCenterChanged; |
|
This event is fired when the map center property changes.
This event changes the See TGMLatLngEvent for more info. | |
![]() |
property OnClick; |
|
This event is fired when the user clicks on the map.
See TGMLatLngEvent for more info. | |
![]() |
property OnContextmenu; |
|
This event is fired when the DOM contextmenu event is fired on the map container or when the user rightclicks on the map.
See TGMLatLngEvent for more info. | |
![]() |
property OnDblClick; |
|
This event is fired when the user double-clicks on the map.
Note that the click event will also fire, right before this one. See TGMLatLngEvent for more info. | |
![]() |
property OnDrag; |
|
This event is repeatedly fired while the user drags the map.
| |
![]() |
property OnDragEnd; |
|
This event is fired when the user stops dragging the map.
| |
![]() |
property OnDragStart; |
|
This event is fired when the user starts dragging the map.
| |
![]() |
property OnIntervalEventsChange; |
|
OnIntervalEventsChange event is fired when IntervalEvents property value changes. | |
![]() |
property OnMapTypeIdChanged; |
|
This event is fired whenever the user's mouse moves over the map container.
See TGMMapTypeIdChangedEvent for more info. | |
![]() |
property OnMouseMove; |
|
This event is fired whenever the user's mouse moves over the map container.
See TGMLatLngEvent for more info. | |
![]() |
property OnMouseOut; |
|
This event is fired when the user's mouse exits the map container.
See TGMLatLngEvent for more info. | |
![]() |
property OnMouseOver; |
|
This event is fired when the user's mouse enters the map container.
See TGMLatLngEvent for more info. | |
![]() |
property OnPrecisionChange; |
|
OnPrecisionChange event is fired when Precision property value changes. | |
![]() |
property OnPropertyChanges; |
|
Event fired when a property from and object changes.
Parameters
| |
![]() |
property OnZoomChanged; |
|
This event is fired when the map zoom property changes.
See TGMZoomChangedEvent for more info. | |
![]() |
property TrafficLayer; |
|
Executes the necessary scripts to display the map in the browser.
| |
![]() |
property TransitLayer; |
|
Class for
More information at google.maps.TransitLayer class | |
Generated by PasDoc 0.15.0.


