Class TMapMarkList
Unit
Declaration
type TMapMarkList = class(TChildObjList<TMapMark>)
Description
List of mapmarks. Items are sorted by layer number and painted in this order, ascending
Hierarchy
- TObject
- TChildObjList
- TMapMarkList
Overview
Methods
function Find(const GeoCoords: TGeoPoint; Options: TMapMarkFindOptions = []; StartIndex: Integer = -1): Integer; overload; |
|
function Find(const GeoRect: TGeoRect; Options: TMapMarkFindOptions = []; StartIndex: Integer = -1): Integer; overload; |
|
function Find(const MapPt: TPoint; Options: TMapMarkFindOptions; StartIndex: Integer): Integer; overload; |
|
function Find(Data: Pointer): Integer; overload; |
|
function NewItem: TMapMark; |
|
function Add(const GeoCoords: TGeoPoint; const Caption: string; Layer: TMapLayer = 0): TMapMark; overload; |
Description
Methods
function Find(const GeoCoords: TGeoPoint; Options: TMapMarkFindOptions = []; StartIndex: Integer = -1): Integer; overload; |
|
Find the next map mark that is near specified coordinates. Samples:
Parameters
Returnsindex of mapmark in the list, |
function Find(const GeoRect: TGeoRect; Options: TMapMarkFindOptions = []; StartIndex: Integer = -1): Integer; overload; |
|
The same as above but searches within specified rectangle |
function Find(const MapPt: TPoint; Options: TMapMarkFindOptions; StartIndex: Integer): Integer; overload; |
|
The same as above but searches by map point in pixels |
function Find(Data: Pointer): Integer; overload; |
|
Find map mark by its Data field Parameters
Returnsindex of mapmark in the list having Data field same as |
function NewItem: TMapMark; |
|
Create TMapMark object and initially assign values from owner map's fields |
function Add(const GeoCoords: TGeoPoint; const Caption: string; Layer: TMapLayer = 0): TMapMark; overload; |
|
Simple method to add a mapmark by coords, caption and layer |
Generated by PasDoc 0.16.0.