@arcgis/core
Version:
ArcGIS Maps SDK for JavaScript: A complete 2D and 3D mapping and data visualization API
21 lines (19 loc) • 645 B
TypeScript
import type { JSONSupport } from "../../core/JSONSupport.js";
import type { NetworkAttributeUnit } from "./types.js";
export interface NetworkAttributeProperties extends Partial<Pick<NetworkAttribute, "name" | "units">> {}
/** @since 5.0 */
export default class NetworkAttribute extends JSONSupport {
constructor(properties?: NetworkAttributeProperties);
/**
* The name of the network attribute to use for the drive time when computing directions.
*
* @since 5.0
*/
name: string | null;
/**
* The units to use when calculating drive time for directions.
*
* @since 5.0
*/
units: NetworkAttributeUnit | null;
}