Esri/ArcGISRuntime/Toolkit/CoordinateOptionDefaults

Header: #include <Esri/ArcGISRuntime/Toolkit/CoordinateOptionDefaults>

Functions

Esri::ArcGISRuntime::Toolkit::CoordinateConversionOption *createGars(Esri::ArcGISRuntime::GarsConversionMode mode = GarsConversionMode::Center, QObject *parent = nullptr)
Esri::ArcGISRuntime::Toolkit::CoordinateConversionOption *createMgrs(Esri::ArcGISRuntime::MgrsConversionMode mode = MgrsConversionMode::Automatic, QObject *parent = nullptr)
Esri::ArcGISRuntime::Toolkit::CoordinateConversionOption *createUsng(int precision = 7, bool useSpaces = true, QObject *parent = nullptr)
Esri::ArcGISRuntime::Toolkit::CoordinateConversionOption *createUtm(Esri::ArcGISRuntime::UtmConversionMode mode = UtmConversionMode::NorthSouthIndicators, bool useSpaces = true, QObject *parent = nullptr)

Detailed Description

* * This file contains several function to instantiate several kinds of common * CoordinateConversionOption objects used by a CoordinateConversionController. *

See also Esri::ArcGISRuntime::Toolkit::CoordinateConversionOption.

Function Documentation

Esri::ArcGISRuntime::Toolkit::CoordinateConversionOption *createGars(Esri::ArcGISRuntime::GarsConversionMode mode = GarsConversionMode::Center, QObject *parent = nullptr)

Creates a new CoordinateConversionOption set up to format Gars with parent parent.

  • mode Conversion mode.

Esri::ArcGISRuntime::Toolkit::CoordinateConversionOption *createMgrs(Esri::ArcGISRuntime::MgrsConversionMode mode = MgrsConversionMode::Automatic, QObject *parent = nullptr)

Creates a new CoordinateConversionOption set up to format MGRS with parent parent.

  • mode Conversion mode.

Esri::ArcGISRuntime::Toolkit::CoordinateConversionOption *createUsng(int precision = 7, bool useSpaces = true, QObject *parent = nullptr)

Creates a new CoordinateConversionOption set up to format USGN with parent parent.

  • precision Numerical precision.
  • useSpaces Dictates if formatted output should contain spaces or not.

Esri::ArcGISRuntime::Toolkit::CoordinateConversionOption *createUtm(Esri::ArcGISRuntime::UtmConversionMode mode = UtmConversionMode::NorthSouthIndicators, bool useSpaces = true, QObject *parent = nullptr)

Creates a new CoordinateConversionOption set up to format UTM with parent parent.

  • mode Conversion mode.
  • useSpaces Dictates if formatted output should contain spaces or not.

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