Field-Map Scripting

4.4.6.37 ScreenMilimeters2MapDistance_m

ScreenMilimeters2MapDistance_m function


Prototype:

function ScreenMilimeters2MapDistance_m ( const ScreenDistance_mm : double) : double;

Description:

Converts the distance on screen (in mm) into respective distance in the map (in m).

Syntax:

variable := Project.ScreenMilimeters2MapDistance_m (ScreenDistance);


Part

Description


variable

A variable declared as double


Project

A reference to the Field-Map project as defined in Field-Map Project Manager


ScreenDistance

Distance between two points on the screen.




Return value:

Distance between two points in the map



See also:

GetPolygonIntersectArea_m2; OverlayPolygonLayers; TransferAttributeValuesFromPolygonsToPointsOrCentroids; GetPoint; GetCentroids; DrawText; DrawPoint; DrawLine; DrawPolygon; DrawCircle; DrawRectangle; FlashPolygon; FlashLine; FlashPoint; SelectedPointCount; SelectedPointID; SelectedLineCount; SelectedLineID; GetCurrentPosition; SetCurrentPosition; SetBasicExtent; GetMapExtent; GetMapFullExtent; GetBasicExtent; ZoomToPolygon; ZoomToLine; MapExtentAsVariant; AddReferencePoint; InvertColors; FindTargetHeight; SetCircularPlotBoundary; TrimLineByPlotBoundary; RefreshMap; RefreshMapRectangle; RefreshTrackingLayer; RefreshTrackingLayerRectangle; ScreenMilimeters2MapDistance_m; MapToScreen; SaveShapesToBlobs; SaveShapesOfCurrentPlotToBlobs; SaveShapesOfAllPlotsToBlobs; ProjectionToWGS84; WGS84ToProjection