ArcGIS Maps SDK version: 4.34, 5.0
Widget: SketchViewModel, Sketch
Problem
When using SketchViewModel with a local/projected coordinate system (e.g. EPSG:2180 — Projected coordinate system for Poland), the coordinate tooltip displayed while drawing shows incorrect axis labels:
- Displayed: `X: … T: …`
- Expected: `Y: … X: …`
Two issues combined:
1. The Y axis is labeled T instead of Y
2. The axis labels are reversed — for EPSG:2180 what is displayed as X should be Y and vice versa, as per the coordinate system convention
Tested on both 4.34 and 5.0 — there is no way to override this behavior.
Steps to reproduce
1. Create a `MapView` with `spatialReference: { wkid: 2180 }`
2. Set up `SketchViewModel` and start drawing any geometry
3. Move the cursor over the map — observe the coordinate tooltip
Expected behavior
For EPSG:2180 the tooltip should show `Y: … X: …`. Other local coordinate systems may have different conventions — the point is that there should be a way to configure axis labels so developers can adjust them to match the coordinate system.
Workaround
None available. There is no public API on `SketchViewModel` or any related class to override axis labels or change their order in the tooltip.
Request
Please either fix the labels based on the coordinate system definition, or expose a configuration option (e.g. `coordinateFormat` or similar) so developers can control how coordinates are displayed in the sketch tooltip.