Units
Class Hierarchy
Classes, Interfaces and Objects
Types
Variables
Constants
Functions and Procedures
Identifiers

Class TCustomCmpClient

Unit

CustomCmpClient

Declaration

type TCustomCmpClient = class()

Description

the component type to communicate with a map server (abstract type)

Fields

 NameDescription
Protected FImage the result of an ExecMapRequest or GetMap
Protected FImageHeight image height for the map, info request
Protected FImageWidth image width for the map, info request
Protected FInfoLayers comma separated list of layers for the info request (query layers have to be also defined in FLayers)
Protected FInfoRequest auto. generated info request
Protected FInfoResult result of the info request (after calling ExecInfoRequest or GetInfo)
Protected FLayers comma separated list of layers for the map, info request
Protected FLegend legend image
Protected FLegendRequest request for a legend image
Protected FMapRequest auto. generated map request
Protected FMaxX max. X coordinate for the map, info request
Protected FMaxY max. Y coordinate for the map, info request
Protected FMinX min. X coordinate for the map, info request
Protected FMinY min. Y coordinate for the map, info request
Protected FOverviewMap overview map
Protected FOverviewMapRequest request for a overview map
Protected FUrl url to the map server
Protected FVersion version of the map server

Methods

Overview

Public constructor Create(AOwner: TComponent); override;
Public destructor Destroy; override;
Public procedure ExecInfoRequest; virtual; abstract;
Public procedure ExecLegendRequest; virtual; abstract;
Public procedure ExecMapRequest; virtual; abstract;
Public procedure ExecOverviewMapRequest; virtual; abstract;
Public procedure GetInfo(posX, posY: Integer);
Public procedure GetInfoRequest(posX, posY: Integer); virtual; abstract;
Public procedure GetLegend;
Public procedure GetLegendRequest; virtual; abstract;
Public procedure GetMap;
Public procedure GetMapRequest; virtual; abstract;
Public procedure GetOverviewMap;
Public procedure GetOverviewMapRequest; virtual; abstract;
Protected function GetUrlForRequest(url: String): String;

Description

Public constructor Create(AOwner: TComponent); override;

creator

Public destructor Destroy; override;

destructor

Public procedure ExecInfoRequest; virtual; abstract;

executes the info request (InfoRequest), result in Info

Public procedure ExecLegendRequest; virtual; abstract;

executes the legend request (LegendRequest), result in Legend

Public procedure ExecMapRequest; virtual; abstract;

executes the map request (MapRequest), result in Map

Public procedure ExecOverviewMapRequest; virtual; abstract;

executes the legend request (OverviewMapRequest), result in OverviewMap

Public procedure GetInfo(posX, posY: Integer);

executes the two procedures GetInfoRequest and ExecInfoRequest: result as TStrings in Info; posX, posY: mouse column, row (from left, top)

Public procedure GetInfoRequest(posX, posY: Integer); virtual; abstract;

generates a info request with the same properties as defined in GetMapRequest and additional properties; posX, posY: mouse column, row (from left, top)

Public procedure GetLegend;

executes the two procedures GetLegendRequest and ExecLegendRequest: result as TBitmap in Legend

Public procedure GetLegendRequest; virtual; abstract;

generates a legend request with the property Layers

Public procedure GetMap;

executes the two procedures GetMapRequest and ExecMapRequest: result as TBitmap in Map

Public procedure GetMapRequest; virtual; abstract;

generates a map request with the properties

Public procedure GetOverviewMap;

executes the two procedures GetOverviewMapRequest and ExecOverviewMapRequest: result as TBitmap in OverviewMap

Public procedure GetOverviewMapRequest; virtual; abstract;

generates a legend request

Protected function GetUrlForRequest(url: String): String;

adds a need '?' or '&' to a URL

Properties

Overview

Published property ImageHeight: Integer;
Published property ImageWidth: Integer;
Public property Info: TStrings;
Published property InfoLayers: String;
Published property InfoRequest: String;
Published property Layers: String;
Public property Legend: TBitmap;
Published property LegendRequest: String;
Public property Map: TBitMap;
Published property MapRequest: String;
Published property MaxX: Double;
Published property MaxY: Double;
Published property MinX: Double;
Published property MinY: Double;
Public property OverviewMap: TBitmap;
Published property OverviewMapRequest: String;
Published property Url: String;
Published property Version: String;

Description

Published property ImageHeight: Integer;

image height for the map, info request

Published property ImageWidth: Integer;

image width for the map, info request

Public property Info: TStrings;

result of the info request (after calling ExecInfoRequest or GetInfo) (readonly)

Published property InfoLayers: String;

comma separated list of layers for the info request (query layers have to be also defined in Layers)

Published property InfoRequest: String;

auto. generated info request (without url, generated with GetInfoRequest)

Published property Layers: String;

comma separated list of layers for the map, info request (no spaces!)

Public property Legend: TBitmap;

result of the legend request (after calling ExecLegendRequest or GetLegend) (readonly)

Published property LegendRequest: String;

auto. generated legend request (generated with GetLegendRequest)

Public property Map: TBitMap;

the result of a ExecMapRequest or GetMap (readonly)

Published property MapRequest: String;

auto. generated map request (generated with GetInfoRequest)

Published property MaxX: Double;

max. longitude coordinate for the map, info request

Published property MaxY: Double;

max. latitude coordinate for the map, info request

Published property MinX: Double;

min. longitude coordinate for the map, info request

Published property MinY: Double;

min. longatitude coordinate for the map, info request

Public property OverviewMap: TBitmap;

result of the legend request (after calling ExecOverviewMapRequest or GetOverviewMap) (readonly)

Published property OverviewMapRequest: String;

auto. generated overview map request (generated with GetOverviewMapRequest)

Published property Url: String;

Base URL to the map server

Published property Version: String;

version of the map server


Generated by PasDoc 0.8.7 on Mon 08. Dez 2003 10:07:52