UNPKG

@arcgis/core

Version:

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

18 lines (17 loc) 548 B
/** * General layer utilities for the map viewer application. * * @internal * @internal */ import type Layer from "../../layers/Layer.js"; import type { FeatureLayerBase } from "../../layers/mixins/FeatureLayerBase.js"; /** * Returns `true` if the layer url has been modified from its initial value to use the preferred host * advertised in its metadata via `preferredHost` property. * * @param layer - The layer to check. * @internal * @internal */ export function isUrlHostModified(layer: Layer & Partial<FeatureLayerBase>): boolean;