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

Class TGMKmlLayerOptions

Unit

Declaration

type TGMKmlLayerOptions = class(TGMPersistentStr)

Description

Class for google.maps.KmlLayerOptions object from Google Maps API.

This class is used to define the properties that can be set on a KmlLayer.

More information at google.maps.KmlLayerOptions 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 Clickable: Boolean read FClickable write SetClickable default True;
Published property PreserveViewport: Boolean read FPreserveViewport write SetPreserveViewport default False;
Published property ScreenOverlays: Boolean read FScreenOverlays write SetScreenOverlays default True;
Published property SuppressInfoWindows: Boolean read FSuppressInfoWindows write SetSuppressInfoWindows default False;
Published property Url: string read FUrl write SetUrl;

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 Clickable: Boolean read FClickable write SetClickable default True;

If True, the layer receives mouse events.

Default True.

Published property PreserveViewport: Boolean read FPreserveViewport write SetPreserveViewport default False;

If this option is set to code(True) or if the map's center and zoom were never set, the input map is centered and zoomed to the bounding box of the contents of the layer.

Default False.

Published property ScreenOverlays: Boolean read FScreenOverlays write SetScreenOverlays default True;

Whether to render the screen overlays.

Default True.

Published property SuppressInfoWindows: Boolean read FSuppressInfoWindows write SetSuppressInfoWindows default False;

Suppress the rendering of info windows when layer features are clicked.

Default False.

Published property Url: string read FUrl write SetUrl;

The URL of the KML document to display.


Generated by PasDoc 0.15.0.