CoordinateConversion QML Type

The user interface for the coordinate conversion tool. More...

Since: Esri.ArcGISRuntime 100.12

Properties

Detailed Description

This tool allows a user to select a point on the map or to enter a point by text entry. The point may be highlighted by zooming into that point, or by highlighting the point on the GeoView. A list of different coordinate formats representing the same point are available to the user.

coordinate_conversion

Example code in the QML API (C++ API might differ):

        MapView {
            Map {
                initBasemapStyle: Enums.BasemapStyleArcGISDarkGray
            }
            CoordinateConversion {
                geoView: parent
                anchors {
                    right: parent.right
                    bottom: parent.attributionTop
                    margins: 10
                }
            }
        }

Property Documentation

controller : var

The Controller handles connections writing/reading to the GeoView, and maintaining our list of textual representations of a single point in multiple formats.

The QML controller is documented here and the CPP controller is documented here.


geoView : var

The GeoView for this tool. Should be a SceneView or a MapView.


[read-only] inInputMode : bool

Whether whether the tool is in input mode.

If true, the tool will convert a point set via a mouse click or text entry.


inputFormat : var

This is the inputFormat - which dictates what format the user can edit and thereby update all the other formats in the ListModel.


Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.