You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* update sample
* Update README.md
* Update geometry/nearest-vertex/src/main/java/com/esri/samples/nearest_vertex/NearestVertexSample.java
Co-authored-by: Jen Merritt <[email protected]>
* Update geometry/nearest-vertex/src/main/java/com/esri/samples/nearest_vertex/NearestVertexSample.java
Co-authored-by: Jen Merritt <[email protected]>
* replace colors with color util, and make colors more visible against new basemap
* scale new image
Co-authored-by: Rachael Ellen <[email protected]>
Co-authored-by: Jen Merritt <[email protected]>
Copy file name to clipboardExpand all lines: geometry/nearest-vertex/README.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,6 +25,10 @@ Click anywhere on the map. An orange cross will show at that location. A blue ci
25
25
* GeometryEngine
26
26
* ProximityResult
27
27
28
+
## Additional information
29
+
30
+
The value of `ProximityResult.getDistance()` is planar (Euclidean) distance. Planar distances are only accurate for geometries that have a defined projected coordinate system, which maintain the desired level of accuracy. The example polygon in this sample is defined in California State Plane Coordinate System - Zone 5 (WKID 2229), which maintains accuracy near Southern California. Accuracy declines outside the state plane zone.
@@ -135,22 +149,20 @@ public void start(Stage stage) {
135
149
136
150
// create a map point from a point
137
151
PointmapPoint = mapView.screenToLocation(point);
138
-
139
-
// the map point should be normalized to the central meridian when wrapping around a map, so its value stays within the coordinate system of the map view
0 commit comments