UNPKG

@arcgis/core

Version:

ArcGIS Maps SDK for JavaScript: A complete 2D and 3D mapping and data visualization API

20 lines (19 loc) 652 B
/** * Action utils for Components. * * @internal * @internal */ import type Graphic from "../../Graphic.js"; import type MapView from "../../views/MapView.js"; import type SceneView from "../../views/SceneView.js"; /** * Determines if the current screen size is appropriate for zoom actions. * * @param graphic - The graphic feature to check. * @param view - The view associated with the popup. * @returns True if the screen size is suitable for zoom actions, otherwise false. * @internal * @internal */ export function isZoomScreenSize(graphic: Graphic | null | undefined, view: MapView | SceneView | null | undefined): Promise<boolean>;