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

Class TCmpWMSClient

Unit

CmpWMSClient

Declaration

type TCmpWMSClient = class(TCustomCmpClient)

Description

component type to communicate with a WMS server

Hierarchy

TCustomCmpClient

Methods

Overview

Public constructor Create(AOwner: TComponent); override;
Public destructor Destroy; override;
Public procedure ExecInfoRequest; override;
Public procedure ExecLegendRequest;
Public procedure ExecMapRequest; override;
Public procedure ExecOverviewMapRequest; override;
Public procedure GetCapabilities;
Public procedure GetInfoRequest(posX, posY: Integer); override;
Public procedure GetLegend;
Public procedure GetLegendRequest;
Public procedure GetMapRequest; override;
Public procedure GetOverviewMapRequest; override;

Description

Public constructor Create(AOwner: TComponent); override;

create a new component

Public destructor Destroy; override;

destroies the object

Public procedure ExecInfoRequest; override;

executes the info request (InfoRequest), result in Info

Public procedure ExecLegendRequest;

executes the legend request (LegendRequest), result in Legend

Public procedure ExecMapRequest; override;

executes the map request (MapRequest), result in Map

Public procedure ExecOverviewMapRequest; override;

executes the legend request (OverviewMapRequest), result in OverviewMap (the same as GetMapRequest)

Public procedure GetCapabilities;

receives the capabilites: requires Url; result as string in Capabilities

Public procedure GetInfoRequest(posX, posY: Integer); override;

generates a info request with the same properties as defined in GetMapRequest and additional InfoLayers, InfoFormat, InfoCount; 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;

generates a legend request with the property LegendLayer, LegendWidth, LegendHeight, ImageFormat

Public procedure GetMapRequest; override;

generates a map request with the properties Version, ImageWidth, ImageHeight, ImageFormat, SRS, Layers, Style, MinX, MaxX, MinY, MaxY

Public procedure GetOverviewMapRequest; override;

generates a legend request (the same as GetMapRequest)

Properties

Overview

Published property Capabilities: String;
Published property ImageFormat: String;
Published property InfoCount: Integer;
Published property InfoFormat: String;
Public property Legend: TBitmap;
Published property LegendHeight: Integer;
Published property LegendLayer: String;
Published property LegendRequest: String;
Published property LegendWidth: Integer;
Published property SRS: String;
Published property Style: String;
Published property UrlForInfoRequest: String;
Published property UrlForLegendRequest: String;
Published property UrlForMapRequest: String;

Description

Published property Capabilities: String;

result of GetCapabilities (readonly)

Published property ImageFormat: String;

image format for the map, info request

Published property InfoCount: Integer;

max. count of feature information for the info request

Published property InfoFormat: String;

format of the info request result

Public property Legend: TBitmap;

result of the legend request -> image of one layer (after calling ExecLegendRequest or GetLegend) (readonly)

Published property LegendHeight: Integer;

legend image height

Published property LegendLayer: String;

legend layer (only one)

Published property LegendRequest: String;

auto. generated legend request (generated with GetLegendRequest)

Published property LegendWidth: Integer;

legend image width

Published property SRS: String;

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

Published property Style: String;

comma separated list of styles for the map request (no spaces!)

Published property UrlForInfoRequest: String;

URL for a info request (only needed if the URL is different of 'Url')

Published property UrlForLegendRequest: String;

URL for a legend request (only needed if the URL is different of 'Url')

Published property UrlForMapRequest: String;

URL for a map request (only needed if the URL is different of 'Url')


Generated by PasDoc 0.8.7 on Fre 14. Nov 2003 15:13:31