cadetill's blog Copyright © Xavier Martínez (cadetill)

Class TGMMapTypeControlOptions

Unit

Declaration

type TGMMapTypeControlOptions = class(TGMPersistentStr)

Description

google.maps.MapTypeControlOptions object from Google Maps API.

Options for the rendering of the map type control.

More information at google.maps.MapTypeControlOptions interface.

Hierarchy

Overview

Methods

Public constructor Create(AOwner: TPersistent); override;
Public function PropToString: string; override;
Public procedure Assign(Source: TPersistent); override;

Properties

Public property APIUrl;
Published property MapTypeIds: TGMMapTypeIds read FMapTypeIds write SetMapTypeIds default [mtHYBRID, mtROADMAP, mtSATELLITE, mtTERRAIN];
Published property Position: TGMControlPosition read FPosition write SetPosition default cpTOP_RIGHT;
Published property Style: TGMMapTypeControlStyle read FStyle write SetStyle default mtcDEFAULT;

Description

Methods

Public constructor Create(AOwner: TPersistent); override;

Class constructor.

Parameters
AOwner
Owner of the object.
Public function PropToString: string; override;

Converts all class properties values to a string separated by comma used to send values to a JavaScript function.

Returns

string with all properties.

Public procedure Assign(Source: TPersistent); override;

Call Assign to copy the properties or other attributes form an object to another.

The standard form of a call to Assign method is
     Destination.Assign(Source);
which tells the Destination object to copy the contents of the Source object to itself.

Parameters
Source
Object to copy the content.

Properties

Public property APIUrl;

URL to Google Maps API page.

Published property MapTypeIds: TGMMapTypeIds read FMapTypeIds write SetMapTypeIds default [mtHYBRID, mtROADMAP, mtSATELLITE, mtTERRAIN];

IDs of map types to show in the control.

Published property Position: TGMControlPosition read FPosition write SetPosition default cpTOP_RIGHT;

Position id.

Used to specify the position of the control on the map.

Published property Style: TGMMapTypeControlStyle read FStyle write SetStyle default mtcDEFAULT;

Style id.

Used to select what style of map type control to display.


Generated by PasDoc 0.15.0.