ZylGMaps Delphi & C++Builder Component

Class TMarkers

Description
Hierarchy
Fields
Methods
Properties

Unit

Declaration

type TMarkers = class(TObject)

Description

Marker collection class.

Hierarchy

Overview

Methods

Public constructor Create();
Public destructor Destroy; override;
Public procedure Add(const Item: TMarker);
Public procedure Insert(index: Integer; const Item: TMarker);
Public procedure Delete(index: Integer);
Public procedure Clear;
Public function GetByName(const markerName: String): TMarker;
Public function IndexOf(const markerName: String): integer;

Properties

Public property Count: Integer read GetCount;
Public property Items[index:Integer]: TMarker read GetItem write SetItem;

Description

Methods

Public constructor Create();

Marker constructor.

Public destructor Destroy; override;

Marker destructor.

Public procedure Add(const Item: TMarker);

Add marker to collection.

Parameters
Item
Marker item.
Public procedure Insert(index: Integer; const Item: TMarker);

Insert marker into collection.

Parameters
index
Index, where the marker is inserted.
Item
Marker item.
Public procedure Delete(index: Integer);

Delete marker from collection.

Parameters
index
Index, where the marker is deleted from.
Public procedure Clear;

Remove all markers from collection.

Public function GetByName(const markerName: String): TMarker;

Get marker object by name.

Parameters
markerName
Name of the marker.
Returns

Marker by name.

Public function IndexOf(const markerName: String): integer;

Get index of marker by name.

Parameters
markerName
Name of the marker.
Returns

Index of the marker.

Properties

Public property Count: Integer read GetCount;

Marker count.

Public property Items[index:Integer]: TMarker read GetItem write SetItem;

Marker items.

Copyright © 2003 - 2026 by Zyl Soft. All rights reserved.
Generated by PasDoc 0.16.0.