| cadetill's blog | Copyright © Xavier Martínez (cadetill) |
Class TGMRestriction
Unit
Declaration
type TGMRestriction = class(TGMPersistentStr)
Description
google.maps.MapRestriction inteface from Google Maps API.
A restriction that can be applied to the Map. The map's viewport will not exceed these restrictions.
More information at google.maps.MapRestriction interface
Hierarchy
- TObject
- TPersistent
- TInterfacedPersistent
- TGMInterfacedOwnedPersistent
- TGMPersistent
- TGMPersistentStr
- TGMRestriction
Overview
Methods
![]() |
constructor Create(AOwner: TPersistent); override; |
![]() |
destructor Destroy; override; |
![]() |
function PropToString: string; override; |
![]() |
procedure Assign(Source: TPersistent); override; |
Properties
![]() |
property APIUrl; |
![]() |
property Enabled: Boolean read FEnabled write SetEnabled; |
![]() |
property LatLngBounds: TGMLatLngBounds read FLatLngBounds write FLatLngBounds; |
![]() |
property StrictBounds: Boolean read FStrictBounds write SetStrictBounds; |
Description
Methods
![]() |
constructor Create(AOwner: TPersistent); override; |
|
Class constructor.
Parameters
| |
![]() |
destructor Destroy; override; |
|
Destructor class.
| |
![]() |
function PropToString: string; override; |
|
Converts all class properties values to a string separated by comma used to send values to a JavaScript function. Returnsstring with all properties. | |
Properties
![]() |
property APIUrl; |
|
URL to Google Maps API page. | |
![]() |
property Enabled: Boolean read FEnabled write SetEnabled; |
|
Enables or disables TGMRestriction property. | |
![]() |
property LatLngBounds: TGMLatLngBounds read FLatLngBounds write FLatLngBounds; |
|
When set, a user can only pan and zoom inside the given bounds.
Bounds can restrict both longitude and latitude, or can restrict latitude only. | |
Generated by PasDoc 0.15.0.

