Please enable JavaScript to view this site.

Version:

Navigation: Activities > Activity Reference

Find Nearest Coordinate Activity

Prev Top Next More

Description

The Find Nearest Coordinate activity finds the coordinate of the geometry that is closest to the specified point.

Inputs

Geometry

Required

Type: esri.Geometry (3.x, 4.x)*

The geometry to consider.

Point

Required

Type: esri.Point (3.x, 4.x)*

The point used to search the nearest coordinate (or vertex) in the geometry.

* VertiGIS Studio Workflow uses different versions of Esri's ArcGIS API for JavaScript depending on the type of host application. See Underlying Technologies for information.

Outputs

point

Type: esri.Point (3.x, 4.x)*

The result point.

distance

Type: Number

The distance to the point.

side

Type: "left" | "right" | String

Whether the point is on the left or right of the line-segment.

index

Type: Number

The index of the vertex.

empty

Type: Boolean

Whether the result is empty.

* VertiGIS Studio Workflow uses different versions of Esri's ArcGIS API for JavaScript depending on the type of host application. See Underlying Technologies for information.

Properties

For information about the ID, Display Name, and Description properties, see Properties Common to all Activities.

Connectivity Requirements

This activity works when the device has intermittent connectivity to the network.

Version Information

Supported from: Geocortex Viewer for HTML5 2.9, ArcGIS Web AppBuilder 2.4.

See also...

https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-Geometry.html

© 2024 VertiGIS North America Ltd. All Rights Reserved. | Privacy Center | Imprint
Documentation Version 5.42 (220a4365)