User Tools

Site Tools


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

Table of Contents

TGIS_ViewerWnd.ScreenToMap method

DK11 for Delphi | FMX.GisViewerWnd.TGIS_ViewerWnd.ScreenToMap | Constructors | Methods | Properties | Events

Converts point coordinates from screen related to map related.

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

Syntax

Implements IGIS_Viewer.ScreenToMap.

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

Parameters

Name Type Description
_pt TPoint coordinate in screen units

Result

Type Description
TGIS_Point Screen coordinates converted to map coordinates.

Remarks

See TGIS_LayerVector.Locate for example.

2022/11/16 01:14

Page Tools