User Tools

Site Tools


api:dk11:delphi:fmx.gisviewerwnd.tgis_viewerwnd.screentomapex_tgis_point

Table of Contents

TGIS_ViewerWnd.ScreenToMapEx method

DK for Delphi | FMX.GisViewerWnd.TGIS_ViewerWnd.ScreenToMapEx | Constructors | Methods | Properties | Events

Converts point coordinates from screen related to map related, but source will be in TGIS_Point.

Available also on: .NET WinForms | Java | ActiveX.

Syntax

Implements IGIS_Viewer.ScreenToMapEx.

// Delphi
public
  function ScreenToMapEx(
    const _pt : TGIS_Point
  ) : TGIS_Point;
// C++ Builder
public:
  TGIS_Point* ScreenToMapEx(
    TGIS_Point* const _pt
  );

Parameters

Name Type Description
_pt TGIS_Point coordinate in screen units

Result

Type Description
TGIS_Point screen coordinates converted to map coordinates

Remarks

See TGIS_LayerVector.Locate for example.

2025/01/31 01:06

Page Tools