| cadetill's blog | Copyright © Xavier Martínez (cadetill) |
Class TGMMapOptions
Unit
Declaration
type TGMMapOptions = class(TGMCustomMapOptions)
Description
Base class for google.maps.MapOptions object from Google Maps API.
{$IFDEF CEF4Delphi} {$ENDIF} {$IFDEF DELPHIALEXANDRIA} {$ENDIF}
This class implements IGMControlChanges interface. More information at google.maps.MapOptions interface
Hierarchy
- TObject
- TPersistent
- TInterfacedPersistent
- TGMInterfacedOwnedPersistent
- TGMPersistent
- TGMPersistentStr
- TGMCustomMapOptions
- TGMMapOptions
Overview
Methods
![]() |
constructor Create(AOwner: TPersistent); override; |
![]() |
function PropToString: string; override; |
![]() |
procedure Assign(Source: TPersistent); override; |
Properties
![]() |
property BackgroundColor: TColor read FBackgroundColor write SetBackgroundColor default clBlack; |
![]() |
property Center; |
![]() |
property ClickableIcons; |
![]() |
property DisableDoubleClickZoom; |
![]() |
property DraggableCursor; |
![]() |
property DraggingCursor; |
![]() |
property FullScreenControl; |
![]() |
property FullScreenControlOptions; |
![]() |
property GestureHandling; |
![]() |
property Heading; |
![]() |
property IsFractionalZoomEnabled; |
![]() |
property KeyboardShortcuts; |
![]() |
property MapTypeControl; |
![]() |
property MapTypeControlOptions; |
![]() |
property MapTypeId; |
![]() |
property MaxZoom; |
![]() |
property MinZoom; |
![]() |
property NoClear; |
![]() |
property Restriction; |
![]() |
property RotateControl; |
![]() |
property RotateControlOptions; |
![]() |
property ScaleControl; |
![]() |
property ScaleControlOptions; |
![]() |
property StreetViewControl; |
![]() |
property StreetViewControlOptions; |
![]() |
property Tilt; |
![]() |
property Zoom; |
![]() |
property ZoomControl; |
![]() |
property ZoomControlOptions; |
Description
Methods
![]() |
constructor Create(AOwner: TPersistent); override; |
|
Class constructor.
Creates a TGMCustomMapOptions object.
Parameters
| |
![]() |
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 Center; |
|
Contains the lat/lng coordinates with the center of the map. | |
![]() |
property ClickableIcons; |
|
When
A map icon represents a point of interest, also known as a POI. By default map icons are clickable. | |
![]() |
property DisableDoubleClickZoom; |
|
Enables/disables zoom and center on double click.
In order to take effect the change of this property, you must to restart the map. | |
![]() |
property DraggableCursor; |
|
The name or url of the cursor to display when mousing over a draggable map.
This property uses the css cursor attribute to change the icon. As with the css property, you must specify at least one fallback cursor that is not a URL. For example: draggableCursor: 'url(http://www.example.com/icon.png), auto;'. In order to take effect the change of this property, you must to restart the map. | |
![]() |
property DraggingCursor; |
|
The name or url of the cursor to display when the map is being dragged.
This property uses the css cursor attribute to change the icon. As with the css property, you must specify at least one fallback cursor that is not a URL. For example: draggingCursor: 'url(http://www.example.com/icon.png), auto;'. In order to take effect the change of this property, you must to restart the map. | |
![]() |
property FullScreenControl; |
|
The enabled/disabled state of the Fullscreen control.
In order to take effect the change of this property, you must to restart the map. | |
![]() |
property FullScreenControlOptions; |
|
The display options for the Fullscreen control.
More info at FullscreenControlOptions interface | |
![]() |
property IsFractionalZoomEnabled; |
|
Default: true for vector maps and false for raster maps.
| |
![]() |
property KeyboardShortcuts; |
|
If
In order to take effect the change of this property, you must to restart the map. | |
![]() |
property MapTypeControl; |
|
The initial enabled/disabled state of the Map type control.
In order to take effect the change of this property, you must to restart the map. | |
![]() |
property MapTypeControlOptions; |
|
The initial display options for the Map type control.
In order to take effect the change of this property, you must to restart the map. More info at MapTypeControlOptions interface | |
![]() |
property MapTypeId; |
|
The initial Map mapTypeId.
| |
![]() |
property MaxZoom; |
|
The maximum zoom level which will be displayed on the map. | |
![]() |
property MinZoom; |
|
The minimum zoom level which will be displayed on the map. | |
![]() |
property NoClear; |
|
If | |
![]() |
property Restriction; |
|
Defines a boundary that restricts the area of the map accessible to users.
When set, a user can only pan and zoom while the camera view stays inside the limits of the boundary. | |
![]() |
property RotateControl; |
|
The enabled/disabled state of the Rotate control. | |
![]() |
property RotateControlOptions; |
|
The display options for the Rotate control.
More info at RotateControlOptions interface | |
![]() |
property ScaleControl; |
|
The initial enabled/disabled state of the Scale control. | |
![]() |
property ScaleControlOptions; |
|
The initial display options for the Scale control.
More info at ScaleControlOptions interface | |
![]() |
property StreetViewControlOptions; |
|
The initial display options for the Street View Pegman control.
More info at StreetViewControlOptions interface | |
![]() |
property Zoom; |
|
The enabled/disabled state of the Zoom control. | |
![]() |
property ZoomControl; |
|
The initial Map zoom level. | |
![]() |
property ZoomControlOptions; |
|
The display options for the Zoom control.
More info at ZoomControlOptions interface | |
Generated by PasDoc 0.15.0.


