@arcgis/core
Version:
ArcGIS Maps SDK for JavaScript: A complete 2D and 3D mapping and data visualization API
17 lines (16 loc) • 408 B
TypeScript
/**
* Extract default units from map of view.
*
* @internal
* @internal
*/
import type { MapViewOrSceneView } from "../../views/MapViewOrSceneView.js";
/**
* Extracts the default unit preferences defined the portal instance
* of a webmap/webscene used in a a view.
*
* @param view
* @internal
* @internal
*/
export function getDefaultUnitForView(view: MapViewOrSceneView): "imperial" | "metric";