MapDown SDK - Copyright© 2009 Martin Masci

Class TMapProject

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TMapProject = class(TComponent)

Description

TMapProject: handle the map project

Hierarchy

Overview

Methods

Public constructor Create(aOwner: TComponent); override;
Public destructor Destroy; override;
Public function GetBottomLatitude(): Extended;
Public function GetColMax(): Integer;
Public function GetColMin(): Integer;
Public function GetCols(): Integer;
Public function GetImage(): string;
Public function GetImageFormat(): TImageFormat;
Public function GetLeftLongitude(): Extended;
Public function GetNeedJoin(): Boolean;
Public function GetNeedOverlay(): Boolean;
Public function GetProjectAsText(): string;
Public function GetProvider(): TMapProvider;
Public function GetRightLongitude(): Extended;
Public function GetRowMax(): Integer;
Public function GetRowMin(): Integer;
Public function GetRows(): Integer;
Public function GetSourceFolder(): string;
Public function GetTopLatitude(): Extended;
Public function GetVersion(): string;
Public function GetZoom(): Integer;
Public function IsProjectFill(): Boolean;
Public function IsProjectModified(): Boolean;
Public procedure LoadProjectFromFile(project: string);
Public procedure NewProject();
Public procedure SaveProjectToFile(project: string);
Public procedure SetBottomLatitude(bottomlatitude: Extended);
Public procedure SetColMax(colmax: Integer);
Public procedure SetColMin(colmin: Integer);
Public procedure SetCols(cols: Integer);
Public procedure SetImage(name: string);
Public procedure SetImageFormat(format: TImageFormat);
Public procedure SetLeftLongitude(leftlongitude: Extended);
Public procedure SetNeedJoin(join: Boolean);
Public procedure SetNeedOverlay(overlay: Boolean);
Public procedure SetProjectFill();
Public procedure SetProvider(provider: TMapProvider);
Public procedure SetRightLongitude(rightlongitude: Extended);
Public procedure SetRowMax(rowmax: Integer);
Public procedure SetRowMin(rowmin: Integer);
Public procedure SetRows(rows: Integer);
Public procedure SetSourceFolder(folder: string);
Public procedure SetTopLatitude(toplatitude: Extended);
Public procedure SetZoom(zoom: Integer);

Properties

Published property Copyright: string read fCopyright;
Published property Path: string read fPath write SetPath;
Published property Project: string read fProject write SetProject;
Published property SourceFolder: string read fSourceFolder write SetSourceF;

Description

Methods

Public constructor Create(aOwner: TComponent); override;
 
Public destructor Destroy; override;
 
Public function GetBottomLatitude(): Extended;

Get real latitude of the second point.

Public function GetColMax(): Integer;

Get max number of tile in X direction.

Public function GetColMin(): Integer;

Get min number of tile in X direction.

Public function GetCols(): Integer;

Get number of tiles in X direction.

Public function GetImage(): string;

Get map image name.

Public function GetImageFormat(): TImageFormat;

Get map image format (ifPng, ifJpg, ifBmp).

Public function GetLeftLongitude(): Extended;

Get real longitude of the first point.

Public function GetNeedJoin(): Boolean;

if TRUE the project need join process.

Public function GetNeedOverlay(): Boolean;

if TRUE the project need overlay process.

Public function GetProjectAsText(): string;

Get project as text.

Public function GetProvider(): TMapProvider;

Get map provider.

Public function GetRightLongitude(): Extended;

Get real longitude of the second point.

Public function GetRowMax(): Integer;

Get max number of tile in Y direction.

Public function GetRowMin(): Integer;

Get min number of tile in Y direction.

Public function GetRows(): Integer;

Get number of tiles in Y direction.

Public function GetSourceFolder(): string;

Get source folder.

Public function GetTopLatitude(): Extended;

Get real latitude of the first point.

Public function GetVersion(): string;

Get version of MDF format.

Public function GetZoom(): Integer;

Get map zoom level.

Public function IsProjectFill(): Boolean;

If FALSE the project is not black.

Public function IsProjectModified(): Boolean;
 
Public procedure LoadProjectFromFile(project: string);

Load prohject from the file (only .MDF format).

Public procedure NewProject();

Create a new project (this will delete the current project).

Public procedure SaveProjectToFile(project: string);

Save project with .MDF format.

Public procedure SetBottomLatitude(bottomlatitude: Extended);

You should not use this procedure.

Public procedure SetColMax(colmax: Integer);

You should not use this procedure.

Public procedure SetColMin(colmin: Integer);

You should not use this procedure.

Public procedure SetCols(cols: Integer);

You should not use this procedure.

Public procedure SetImage(name: string);

You should not use this procedure.

Public procedure SetImageFormat(format: TImageFormat);

You should not use this procedure.

Public procedure SetLeftLongitude(leftlongitude: Extended);

You should not use this procedure.

Public procedure SetNeedJoin(join: Boolean);

You should not use this procedure.

Public procedure SetNeedOverlay(overlay: Boolean);

You should not use this procedure.

Public procedure SetProjectFill();

You should not use this procedure.

Public procedure SetProvider(provider: TMapProvider);

You should not use this procedure.

Public procedure SetRightLongitude(rightlongitude: Extended);

You should not use this procedure.

Public procedure SetRowMax(rowmax: Integer);

You should not use this procedure.

Public procedure SetRowMin(rowmin: Integer);

You should not use this procedure.

Public procedure SetRows(rows: Integer);

You should not use this procedure.

Public procedure SetSourceFolder(folder: string);

You should not use this procedure.

Public procedure SetTopLatitude(toplatitude: Extended);

You should not use this procedure.

Public procedure SetZoom(zoom: Integer);

You should not use this procedure.

Properties

Published property Copyright: string read fCopyright;

Current version of TMapProject.

Published property Path: string read fPath write SetPath;

Project path (where save the project file).

Published property Project: string read fProject write SetProject;

Name of the project.

Published property SourceFolder: string read fSourceFolder write SetSourceF;

Source path (a subfolder of "Path" property where save the tiles files).


Generated by PasDoc 0.11.0 on 2009-07-25 17.20.35