mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-12-04 12:11:47 +00:00
Merge pull request #9971 from dasa/arcgis-js-api
Update for ArcGIS API for JavaScript version 3.17
This commit is contained in:
Vendored
+162
-44
@@ -1,4 +1,4 @@
|
||||
// Type definitions for ArcGIS API for JavaScript v3.16
|
||||
// Type definitions for ArcGIS API for JavaScript v3.17
|
||||
// Project: http://js.arcgis.com
|
||||
// Definitions by: Esri <http://www.esri.com>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
@@ -18,7 +18,6 @@ declare module "esri" {
|
||||
import BasemapLayer = require("esri/dijit/BasemapLayer");
|
||||
import Symbol = require("esri/symbols/Symbol");
|
||||
import BookmarkItem = require("esri/dijit/BookmarkItem");
|
||||
import Units = require("esri/units");
|
||||
import Color = require("esri/Color");
|
||||
import LocationProviderBase = require("esri/tasks/locationproviders/LocationProviderBase");
|
||||
import PictureMarkerSymbol = require("esri/symbols/PictureMarkerSymbol");
|
||||
@@ -45,6 +44,7 @@ declare module "esri" {
|
||||
import QueryTask = require("esri/tasks/QueryTask");
|
||||
import TextSymbol = require("esri/symbols/TextSymbol");
|
||||
import StandardGeographyQueryTask = require("esri/tasks/geoenrichment/StandardGeographyQueryTask");
|
||||
import WMSLayerInfo = require("esri/layers/WMSLayerInfo");
|
||||
import WMTSLayerInfo = require("esri/layers/WMTSLayerInfo");
|
||||
|
||||
export interface AGSMouseEvent extends MouseEvent {
|
||||
@@ -354,7 +354,7 @@ declare module "esri" {
|
||||
/** Radius of the circle. */
|
||||
radius?: number;
|
||||
/** Unit of the radius. */
|
||||
radiusUnit?: Units;
|
||||
radiusUnit?: string;
|
||||
}
|
||||
export interface CircleOptions2 {
|
||||
/** The center point of the circle. */
|
||||
@@ -366,7 +366,7 @@ declare module "esri" {
|
||||
/** The radius of the circle. */
|
||||
radius?: number;
|
||||
/** Unit of the radius. */
|
||||
radiusUnit?: Units;
|
||||
radiusUnit?: string;
|
||||
}
|
||||
export interface ClassedColorSliderOptions {
|
||||
/** Data map containing renderer information. */
|
||||
@@ -643,6 +643,8 @@ declare module "esri" {
|
||||
minStops?: number;
|
||||
/** When true, stops on the route are re-ordered to provide an optimal route. */
|
||||
optimalRoute?: boolean;
|
||||
/** If specified, this specifies the portal where the produced route layers are going to be stored and accessed. */
|
||||
portalUrl?: string;
|
||||
/** URL link to a custom print page. */
|
||||
printPage?: string;
|
||||
/** If available, this print task is used to display an overview map of the route on the directions print page (Added at v3.11). */
|
||||
@@ -677,6 +679,8 @@ declare module "esri" {
|
||||
showReturnToStartOption?: boolean;
|
||||
/** Display the 'Show Reverse Stops' button. */
|
||||
showReverseStopsButton?: boolean;
|
||||
/** Applicable if the widget works with a Network Analyst Server federated with ArcGIS Online or Portal. */
|
||||
showSaveButton?: boolean;
|
||||
/** Highlight the route segment when a directions step is clicked. */
|
||||
showSegmentHighlight?: boolean;
|
||||
/** Display a popup with segment details when a direction step is clicked. */
|
||||
@@ -911,6 +915,8 @@ declare module "esri" {
|
||||
layer: FeatureLayer;
|
||||
}
|
||||
export interface FeatureTableOptions {
|
||||
/** The number of features a service will try to fetch. */
|
||||
batchCount?: number;
|
||||
/** Object defining the date options specifically for formatting date and time editors. */
|
||||
dateOptions?: any;
|
||||
/** Sets the editing state for the FeatureTable. */
|
||||
@@ -931,12 +937,18 @@ declare module "esri" {
|
||||
menuFunctions?: any[];
|
||||
/** Attribute fields to include in the FeatureTable. */
|
||||
outFields?: string[];
|
||||
/** Displays or hides the attachment column. */
|
||||
showAttachments?: boolean;
|
||||
/** Displays the data type of the field right under the field label. */
|
||||
showDataTypes?: boolean;
|
||||
/** Displays or hides total number of features and selected number of features in the grid header. */
|
||||
showFeatureCount?: boolean;
|
||||
/** Displays or hides the FeatureTable header. */
|
||||
showGridHeader?: boolean;
|
||||
/** Displays or hides 'Options' drop-down menu of the FeatureTable. */
|
||||
showGridMenu?: boolean;
|
||||
/** Displays or hides the 'Statistics' option in column menus for numeric fields. */
|
||||
showStatistics?: boolean;
|
||||
/** Enables an interaction between the map and the feature table. */
|
||||
syncSelection?: boolean;
|
||||
/** Enables pan/zoom to selected features on the map when the table in 'sync selection' mode. */
|
||||
@@ -1187,10 +1199,20 @@ declare module "esri" {
|
||||
gdbVersion?: string;
|
||||
}
|
||||
export interface ImageServiceMeasureOptions {
|
||||
/** The angular unit in which directions of line segments will be calculated. */
|
||||
angularUnit?: string;
|
||||
/** The area unit in which areas of polygons will be calculated. */
|
||||
areaUnit?: string;
|
||||
/** Defines whether to show the widget result in a popup or in the widget's result area when the widget has 'toolbar' layout. */
|
||||
displayMeasureResultInPopup?: boolean;
|
||||
/** Symbol to be used when drawing a polygon or extent. */
|
||||
fillSymbol?: SimpleFillSymbol;
|
||||
/** Image service layer with which the toolbar is associated. */
|
||||
layer: ArcGISImageServiceLayer;
|
||||
/** Defines the layout of the widget. */
|
||||
layout?: string;
|
||||
/** The linear unit in which height, length, or perimeters will be calculated. */
|
||||
linearUnit?: string;
|
||||
/** Symbol to be used when drawing a line. */
|
||||
lineSymbol?: SimpleLineSymbol;
|
||||
/** Map instance with which the toolbar is associate. */
|
||||
@@ -1402,9 +1424,9 @@ declare module "esri" {
|
||||
/** Flag for showing full list of units in the Location tool. */
|
||||
advancedLocationUnits?: boolean;
|
||||
/** The default area unit for the measure area tool. */
|
||||
defaultAreaUnit?: Units;
|
||||
defaultAreaUnit?: string;
|
||||
/** The default length unit for the measure distance tool. */
|
||||
defaultLengthUnit?: Units;
|
||||
defaultLengthUnit?: string;
|
||||
/** Allows the user to immediately measure previously-created geometry on dijit creation. */
|
||||
geometry?: Point | Polyline | Polygon;
|
||||
/** Line symbol used to draw the lines for the measure line and measure distance tools. */
|
||||
@@ -2190,6 +2212,28 @@ declare module "esri" {
|
||||
/** The well-known ID of the spatial reference used by the WFSLayer. */
|
||||
wkid?: string;
|
||||
}
|
||||
export interface WMSLayerInfoOptions {
|
||||
/** All the bounding extents defined for this layer. */
|
||||
allExtents?: Extent[];
|
||||
/** A description of the WMS layer. */
|
||||
description?: string;
|
||||
/** The extent of the WMS Layer. */
|
||||
extent?: Extent;
|
||||
/** The URL to the legend image. */
|
||||
legendURL?: string;
|
||||
/** The name of the WMS layer. */
|
||||
name: string;
|
||||
/** Returns true if the layer can be queried and the service supports GetFeatureInfo with either text/html or text/plain formats. */
|
||||
queryable?: boolean;
|
||||
/** Indicates if this layer should be included in the popup. */
|
||||
showPopup?: boolean;
|
||||
/** All the spatial references defined for this layer. */
|
||||
spatialReferences?: SpatialReference[];
|
||||
/** WMSLayerInfos of the layer's sub layers. */
|
||||
subLayers?: WMSLayerInfo[];
|
||||
/** The title of the WMS layer. */
|
||||
title?: string;
|
||||
}
|
||||
export interface WMSLayerOptions {
|
||||
/** Specify the map image format, valid options are png,jpg,bmp,gif,svg. */
|
||||
format?: string;
|
||||
@@ -3732,6 +3776,8 @@ declare module "esri/dijit/Directions" {
|
||||
maxStopsReached: boolean;
|
||||
/** Read-only: The graphic for the calculated route. */
|
||||
mergedRouteGraphic: Graphic;
|
||||
/** If specified, this specifies the portal where the produced route layers are going to be stored and accessed. */
|
||||
portalUrl: string;
|
||||
/** Routing parameters for the widget. */
|
||||
routeParams: RouteParameters;
|
||||
/** Routing task for the widget. */
|
||||
@@ -3744,6 +3790,8 @@ declare module "esri/dijit/Directions" {
|
||||
showClearButton: boolean;
|
||||
/** If true, the toggle button group allowing user to choose between Miles and Kilometers is shown. */
|
||||
showMilesKilometersOption: boolean;
|
||||
/** Applicable if the widget works with a Network Analyst Server federated with ArcGIS Online or Portal. */
|
||||
showSaveButton: boolean;
|
||||
/** If true, and supported by the service, then two toggle button groups are shown: one to allow user to choose between driving a car, a truck, or walking, and one more group to choose between fastest or shortest routes. */
|
||||
showTravelModesOption: boolean;
|
||||
/** An array of graphics that define the stop locations along the route. */
|
||||
@@ -3792,6 +3840,11 @@ declare module "esri/dijit/Directions" {
|
||||
* @param index The index of the route segment to highlight.
|
||||
*/
|
||||
highlightSegment(index: number): void;
|
||||
/**
|
||||
* Loads a stored route layer from either ArcGIS Online or Portal
|
||||
* @param itemId The itemId of the stored route layer from either ArcGIS Online or Portal.
|
||||
*/
|
||||
loadRoute(itemId: string): any;
|
||||
/**
|
||||
* Remove the stop at the specified index.
|
||||
* @param index The index of the stop to remove.
|
||||
@@ -3801,6 +3854,16 @@ declare module "esri/dijit/Directions" {
|
||||
removeStops(): any;
|
||||
/** Resets the directions widget removing any directions, stops and map graphics. */
|
||||
reset(): any;
|
||||
/**
|
||||
* Specify the language used for the directions.
|
||||
* @param locale The locale used for the directions.
|
||||
*/
|
||||
setDirectionsLanguage(locale: string): any;
|
||||
/**
|
||||
* Specify the length units used for the directions widget.
|
||||
* @param units The length units used for the directions widget.
|
||||
*/
|
||||
setDirectionsLengthUnits(units: string): any;
|
||||
/**
|
||||
* If widget runs with Travel Modes enabled, call this method to switch to particular Travel mode programmatically.
|
||||
* @param travelModeName Travel mode.
|
||||
@@ -3843,10 +3906,16 @@ declare module "esri/dijit/Directions" {
|
||||
on(type: "directions-finish", listener: (event: { result: RouteResult; target: Directions }) => void): esri.Handle;
|
||||
/** Fires when the route services starts to calculate the route. */
|
||||
on(type: "directions-start", listener: (event: { target: Directions }) => void): esri.Handle;
|
||||
/** Fires after a user clicks the Save or Save as New button and subsequently does not have permission to create an item in ArcGIS Online or Portal. */
|
||||
on(type: "feature-collection-created", listener: (event: { target: Directions }) => void): esri.Handle;
|
||||
/** Fires when the directions widget has fully loaded. */
|
||||
on(type: "load", listener: (event: { target: Directions }) => void): esri.Handle;
|
||||
/** Fires when the widget starts or stops listening for map clicks. */
|
||||
on(type: "map-click-active", listener: (event: { mapClickActive: boolean; target: Directions }) => void): esri.Handle;
|
||||
/** Fires after a user clicks the Save or Save as New button for the first time in order to store a new route in either ArcGIS Online or Portal. */
|
||||
on(type: "route-item-created", listener: (event: { target: Directions }) => void): esri.Handle;
|
||||
/** Fires when a existing route layer item is successfully updated in ArcGIS Online or Portal after user clicks the Save button. */
|
||||
on(type: "route-item-updated", listener: (event: { target: Directions }) => void): esri.Handle;
|
||||
/** Fired when you hover over a route segment in the directions display. */
|
||||
on(type: "segment-highlight", listener: (event: { graphic: Graphic; target: Directions }) => void): esri.Handle;
|
||||
/** Fires when a route segment is selected in the directions display. */
|
||||
@@ -3901,6 +3970,8 @@ declare module "esri/dijit/FeatureTable" {
|
||||
|
||||
/** Creates an instance of the FeatureTable widget within the provided DOM node. */
|
||||
class FeatureTable {
|
||||
/** The number of features a service will try to fetch. */
|
||||
batchCount: number;
|
||||
/** Read-only: A reference to the column objects and their parameters. */
|
||||
columns: any[];
|
||||
/** Read-only: Reference to the dataStore used by the dGrid. */
|
||||
@@ -3909,6 +3980,8 @@ declare module "esri/dijit/FeatureTable" {
|
||||
dateOptions: any;
|
||||
/** Sets the editing state for the FeatureTable. */
|
||||
editable: boolean;
|
||||
/** Event trigger(s) used to display editing interface for an individual cell. */
|
||||
editOn: string | any;
|
||||
/** Read-only: Number of records displayed in FeatureTable. */
|
||||
featureCount: number;
|
||||
/** The featureLayer that the table is associated with. */
|
||||
@@ -3937,12 +4010,18 @@ declare module "esri/dijit/FeatureTable" {
|
||||
selectedRowIds: number[];
|
||||
/** Read-only: Each element in the array is an object that contains name-value pair of fields and field values associated with the selected rows. */
|
||||
selectedRows: any[];
|
||||
/** Displays the data type of the field right under the field label in the column header. */
|
||||
/** Displays or hides the attachment column. */
|
||||
showAttachments: boolean;
|
||||
/** Displays or hides the data type of the field right under the field label in the column header. */
|
||||
showDataTypes: boolean;
|
||||
/** Displays or hides total number of features and selected number of features in the grid header. */
|
||||
showFeatureCount: boolean;
|
||||
/** Displays or hides the FeatureTable header. */
|
||||
showGridHeader: boolean;
|
||||
/** Displays or hides 'Options' drop-down menu of the FeatureTable. */
|
||||
showGridMenu: boolean;
|
||||
/** Displays or hides the 'Statistics' option in column menus for numeric fields. */
|
||||
showStatistics: boolean;
|
||||
/** Enables an interaction between the map and the feature table. */
|
||||
syncSelection: boolean;
|
||||
/** Enables pans to selected features on the map when the table in 'sync selection' mode. */
|
||||
@@ -3953,6 +4032,29 @@ declare module "esri/dijit/FeatureTable" {
|
||||
* @param srcNodeRef Reference or id of a HTML element that this dijit is rendered into.
|
||||
*/
|
||||
constructor(params: esri.FeatureTableOptions, srcNodeRef: Node | string);
|
||||
/** Removes all current selections including subsets from filterSelectedRecords(). */
|
||||
clearSelection(): void;
|
||||
/** Destroys the FeatureTable widget. */
|
||||
destroy(): void;
|
||||
/**
|
||||
* Allows users to see the sub-set of currently selected records (uses dGrid.query).
|
||||
* @param toggle When true only a subset of currently selected features will be displayed in the FeatureTable.
|
||||
*/
|
||||
filterSelectedRecords(toggle: boolean): void;
|
||||
/**
|
||||
* Queries and gets selected features from the FeatureLayer instead of the store.
|
||||
* @param id Array of row ids
|
||||
*/
|
||||
getFeatureDataById(id: number[]): any;
|
||||
/**
|
||||
* Gets row object by the row ID.
|
||||
* @param id row ID
|
||||
*/
|
||||
getRowDataById(id: number): any;
|
||||
/** Refreshes the data in the grid. */
|
||||
refresh(): void;
|
||||
/** Resizes the grid's container. */
|
||||
resize(): void;
|
||||
/** Finalizes the creation of the widget. */
|
||||
startup(): void;
|
||||
/** Fires when the grid column is resized. */
|
||||
@@ -4286,8 +4388,13 @@ declare module "esri/dijit/ImageServiceMeasure" {
|
||||
/**
|
||||
* Creates an instance of the ImageServiceMeasure widget.
|
||||
* @param params An Object containing constructor options.
|
||||
* @param srcNode Reference or id of the HTML element where the widget should be rendered.
|
||||
*/
|
||||
constructor(params: esri.ImageServiceMeasureOptions);
|
||||
constructor(params: esri.ImageServiceMeasureOptions, srcNode: Node | string);
|
||||
/** Destroys the ImageServiceMeasure widget. */
|
||||
destroy(): void;
|
||||
/** Finalizes the creation of the widget. */
|
||||
startup(): void;
|
||||
}
|
||||
export = ImageServiceMeasure;
|
||||
}
|
||||
@@ -4528,9 +4635,14 @@ declare module "esri/dijit/LayerSwipe" {
|
||||
|
||||
declare module "esri/dijit/Legend" {
|
||||
import esri = require("esri");
|
||||
import Map = require("esri/map");
|
||||
|
||||
/** The legend dijit displays a label and symbol for some or all of the layers in the map. */
|
||||
class Legend {
|
||||
/** Specify a subset of the layers in the map to display in the legend. */
|
||||
layerInfos: any[];
|
||||
/** Reference to the map. */
|
||||
map: Map;
|
||||
/**
|
||||
* Creates a new Legend dijit.
|
||||
* @param params Parameters used to configure the dijit.
|
||||
@@ -4555,7 +4667,7 @@ declare module "esri/dijit/LocateButton" {
|
||||
import Symbol = require("esri/symbols/Symbol");
|
||||
import Graphic = require("esri/graphic");
|
||||
|
||||
/** LocateButton provides a simple button to locate and zoom to the users current location. */
|
||||
/** LocateButton provides a simple button to locate and zoom to the user's location. */
|
||||
class LocateButton {
|
||||
/** Centers the map to the location when a new position is returned. */
|
||||
centerAt: boolean;
|
||||
@@ -6767,7 +6879,7 @@ declare module "esri/dijit/editing/Add" {
|
||||
import esri = require("esri");
|
||||
import OperationBase = require("esri/OperationBase");
|
||||
|
||||
/** The esri/dijit/editing namespace contains editing related operations that inherit from OperationBase. */
|
||||
/** This class is used with the UndoManager to provide undo/redo functionality of Add operations when editing. */
|
||||
class Add extends OperationBase {
|
||||
/**
|
||||
* Create a new Add operation.
|
||||
@@ -6810,7 +6922,7 @@ declare module "esri/dijit/editing/Cut" {
|
||||
import esri = require("esri");
|
||||
import OperationBase = require("esri/OperationBase");
|
||||
|
||||
/** The esri/dijit/editing namespace contains editing related operations that inherit from OperationBase. */
|
||||
/** This class is used with the UndoManager to provide undo/redo functionality of Cut operations when editing. */
|
||||
class Cut extends OperationBase {
|
||||
/**
|
||||
* Create a new Cut operation.
|
||||
@@ -6829,7 +6941,7 @@ declare module "esri/dijit/editing/Delete" {
|
||||
import esri = require("esri");
|
||||
import OperationBase = require("esri/OperationBase");
|
||||
|
||||
/** The esri/dijit/editing namespace contains editing related operations that inherit from OperationBase. */
|
||||
/** This class is used with the UndoManager to provide undo/redo functionality of Delete operations when editing. */
|
||||
class Delete extends OperationBase {
|
||||
/**
|
||||
* Create a new Delete operation.
|
||||
@@ -6929,7 +7041,7 @@ declare module "esri/dijit/editing/Union" {
|
||||
import esri = require("esri");
|
||||
import OperationBase = require("esri/OperationBase");
|
||||
|
||||
/** The esri/dijit/editing namespace contains editing related operations that inherit from OperationBase. */
|
||||
/** This class is used with the UndoManager to provide undo/redo functionality of Union operations when editing. */
|
||||
class Union extends OperationBase {
|
||||
/**
|
||||
* Create a new Union operation.
|
||||
@@ -6948,7 +7060,7 @@ declare module "esri/dijit/editing/Update" {
|
||||
import esri = require("esri");
|
||||
import OperationBase = require("esri/OperationBase");
|
||||
|
||||
/** The esri/dijit/editing namespace contains editing related operations that inherit from OperationBase. */
|
||||
/** This class is used with the UndoManager to provide undo/redo functionality of Update operations when editing. */
|
||||
class Update extends OperationBase {
|
||||
/**
|
||||
* Create a new Update operation.
|
||||
@@ -8353,8 +8465,9 @@ declare module "esri/geometry/webMercatorUtils" {
|
||||
/**
|
||||
* Converts geometry from Web Mercator units to geographic units.
|
||||
* @param geometry The geometry to convert.
|
||||
* @param isLinear Indicates whether to work with linear values, i.e., do not normalize.
|
||||
*/
|
||||
webMercatorToGeographic(geometry: Geometry): Geometry;
|
||||
webMercatorToGeographic(geometry: Geometry, isLinear?: boolean): Geometry;
|
||||
/**
|
||||
* Translates the given Web Mercator coordinates to Longitude and Latitude.
|
||||
* @param x The x coordinate value to convert.
|
||||
@@ -10809,8 +10922,6 @@ declare module "esri/layers/VectorTileLayer" {
|
||||
initialExtent: Extent;
|
||||
/** The spatial reference of the layer. */
|
||||
spatialReference: SpatialReference;
|
||||
/** The style object of the service with fully qualified URLs for glyphs and sprite. */
|
||||
style: any;
|
||||
/** Contains information about the tiling scheme for the layer. */
|
||||
tileInfo: TileInfo;
|
||||
/** The URL to the vector tile service or style JSON that will be used to draw the layer. */
|
||||
@@ -10821,6 +10932,8 @@ declare module "esri/layers/VectorTileLayer" {
|
||||
* @param options Optional parameters.
|
||||
*/
|
||||
constructor(url: string | any, options?: esri.VectorTileLayerOptions);
|
||||
/** Returns an object that contains the current style information for the layer. */
|
||||
getStyle(): any;
|
||||
/**
|
||||
* Changes the style properties used to render the layers.
|
||||
* @param styleUrl A url to a JSON file containing the stylesheet information to render the layer.
|
||||
@@ -10835,14 +10948,15 @@ declare module "esri/layers/VectorTileLayer" {
|
||||
|
||||
declare module "esri/layers/WFSLayer" {
|
||||
import esri = require("esri");
|
||||
import GraphicsLayer = require("esri/layers/GraphicsLayer");
|
||||
import Field = require("esri/layers/Field");
|
||||
import Extent = require("esri/geometry/Extent");
|
||||
import Graphic = require("esri/graphic");
|
||||
import InfoTemplate = require("esri/InfoTemplate");
|
||||
import Renderer = require("esri/renderers/Renderer");
|
||||
|
||||
/** (Currently in beta) A layer for OGC Web Feature Services (WFS). */
|
||||
class WFSLayer {
|
||||
/** (Currently in beta) A layer for OGC Web Feature Services (WFS). */
|
||||
class WFSLayer extends GraphicsLayer {
|
||||
/** An array of fields in the layer. */
|
||||
fields: Field[];
|
||||
/** The full extent of the layer. */
|
||||
@@ -10864,17 +10978,11 @@ declare module "esri/layers/WFSLayer" {
|
||||
* @param options See options table below for full descriptions of the properties needed for this object.
|
||||
*/
|
||||
constructor(options: esri.WFSLayerOptions);
|
||||
/** Creates the getFeature parameter based on the version, nsLayerName, nsGeometryFieldName, mode, wkid, inverseFilter, maxFeatures constructor parameters. */
|
||||
buildRequest(): string;
|
||||
/**
|
||||
* Gets the WFS layer capabilities.
|
||||
* @param callback An array of WFS layers in JSON format.
|
||||
* Creates a WFSLayer using the provided JSON object.
|
||||
* @param json The input JSON.
|
||||
*/
|
||||
getCapabilities(callback?: Function): void;
|
||||
/** Performs the getFeature request. */
|
||||
getFeature(): void;
|
||||
/** Returns a JSON Object containing all of the WFS parameters. */
|
||||
getWFSParameters(): any;
|
||||
fromJson(json: Object): void;
|
||||
/** Redraws all the graphics in the layer. */
|
||||
redraw(): void;
|
||||
/** Refreshes the features in the WFS layer. */
|
||||
@@ -10885,8 +10993,8 @@ declare module "esri/layers/WFSLayer" {
|
||||
setPointSymbol(): void;
|
||||
/** Sets the default polygon symbol to be used if no renderer is specified. */
|
||||
setPolygonSymbol(): void;
|
||||
/** Sets the WFS parameters using the provided JSON Object. */
|
||||
setWFSParameters(): void;
|
||||
/** Converts the WFSLayer instance to a JSON object. */
|
||||
toJson(): any;
|
||||
}
|
||||
export = WFSLayer;
|
||||
}
|
||||
@@ -10952,6 +11060,7 @@ declare module "esri/layers/WMSLayer" {
|
||||
}
|
||||
|
||||
declare module "esri/layers/WMSLayerInfo" {
|
||||
import esri = require("esri");
|
||||
import Extent = require("esri/geometry/Extent");
|
||||
|
||||
/** The WMSLayerInfo class defines and provides information about layers in a WMS service. */
|
||||
@@ -10966,6 +11075,10 @@ declare module "esri/layers/WMSLayerInfo" {
|
||||
legendURL: string;
|
||||
/** The layer name. */
|
||||
name: string;
|
||||
/** Returns true if the layer can be queried and the service supports GetFeatureInfo with either text/html or text/plain formats */
|
||||
queryable: boolean;
|
||||
/** Indicates if this layer should be included in the popup. */
|
||||
showPopup: boolean;
|
||||
/** An array of WKIDs of all spatial references defined for the layer. */
|
||||
spatialReferences: number[];
|
||||
/** WMSLayerInfos of the layer's sub layers. */
|
||||
@@ -10974,9 +11087,9 @@ declare module "esri/layers/WMSLayerInfo" {
|
||||
title: string;
|
||||
/**
|
||||
* Creates a new WMSLayerInfo object.
|
||||
* @param layer WMSLayerInfo layer object.
|
||||
* @param options See options list for parameters.
|
||||
*/
|
||||
constructor(layer: any);
|
||||
constructor(options?: esri.WMSLayerInfoOptions);
|
||||
}
|
||||
export = WMSLayerInfo;
|
||||
}
|
||||
@@ -11584,7 +11697,7 @@ declare module "esri/opsdashboard/DataSourceProxy" {
|
||||
displayFieldName: string;
|
||||
/** Read-only: The collection of fields. */
|
||||
fields: Field[];
|
||||
/** The geometry type. */
|
||||
/** Read-only: The geometry type. */
|
||||
geometryType: string;
|
||||
/** Read-only: The id of the data source. */
|
||||
id: string;
|
||||
@@ -11611,8 +11724,8 @@ declare module "esri/opsdashboard/DataSourceProxy" {
|
||||
executeQuery(query: Query): any;
|
||||
/** An object that contains service level metadata about whether or not the layer supports queries using statistics, order by fields, DISTINCT, pagination, query with distance, and returning queries with extents. */
|
||||
getAdvancedQueryCapabilities(): any;
|
||||
/** Retrieve the associated data source that supports selection. */
|
||||
getAssociatedSelectionDataSourceProxy(): any;
|
||||
/** Retrieve the associated id of the data source that supports selection. */
|
||||
getAssociatedSelectionDataSourceId(): any;
|
||||
/** Get the associated popupInfo for the data source if any available. */
|
||||
getPopupInfo(): any;
|
||||
/** Get the associated render object for the data source if any available. */
|
||||
@@ -11666,12 +11779,17 @@ declare module "esri/opsdashboard/ExtensionBase" {
|
||||
static POLYLINE: any;
|
||||
/** Read-only: Indicates if the host application is the Windows Operations Dashboard. */
|
||||
isNative: boolean;
|
||||
/** Read Only: It will list all of the Portal helper services. */
|
||||
portalHelperServices: string;
|
||||
/** Read-only: The URL to the ArcGIS.com site or in-house portal that you are currently signed in to. */
|
||||
portalUrl: string;
|
||||
/** Get the collection of data sources from the host application. */
|
||||
getDataSourceProxies(): any;
|
||||
/** Get the data source corresponding to the data source id from the host application. */
|
||||
getDataSourceProxy(): any;
|
||||
/**
|
||||
* Get the data source corresponding to the data source id from the host application.
|
||||
* @param dataSourceId The data source id
|
||||
*/
|
||||
getDataSourceProxy(dataSourceId: string): any;
|
||||
/** Get the collection of map widgets from the host application. */
|
||||
getMapWidgetProxies(): any;
|
||||
/**
|
||||
@@ -11791,7 +11909,7 @@ declare module "esri/opsdashboard/GraphicsLayerProxy" {
|
||||
minScale: number;
|
||||
/** Read-only: The current host graphics layer opacity ratio. */
|
||||
opacity: number;
|
||||
/** The current renderer used by the host graphics layer. */
|
||||
/** Read-only: The current renderer used by the host graphics layer. */
|
||||
renderer: Renderer;
|
||||
/** Read-only: The current host graphics layer visibility. */
|
||||
visible: boolean;
|
||||
@@ -11928,8 +12046,6 @@ declare module "esri/opsdashboard/MapWidgetProxy" {
|
||||
destroyGraphicsLayerProxy(graphicsLayerProxy: GraphicsLayerProxy): void;
|
||||
/** Gets the current host map extent. */
|
||||
getMapExtent(): any;
|
||||
/** Called by the host application when the extent of the host map has changed. */
|
||||
mapExtentChanged(): void;
|
||||
/**
|
||||
* Pans the map to a new location.
|
||||
* @param mapPoint A new location with the same spatial reference as the host map.
|
||||
@@ -14088,7 +14204,7 @@ declare module "esri/tasks/FindTask" {
|
||||
url: string;
|
||||
/**
|
||||
* Creates a new FindTask object.
|
||||
* @param url URL to the ArcGIS Server REST resource that represents a layer in a service.
|
||||
* @param url URL to the ArcGIS Server REST resource that represents a map service.
|
||||
* @param options Optional parameters.
|
||||
*/
|
||||
constructor(url: string, options?: esri.FindTaskOptions);
|
||||
@@ -15343,6 +15459,8 @@ declare module "esri/tasks/RouteParameters" {
|
||||
startTimeIsUTC: boolean;
|
||||
/** The set of stops loaded as network locations during analysis. */
|
||||
stops: any;
|
||||
/** If true , the TimeWindowStart and TimeWindowEnd attributes of a stop are in UTC time (milliseconds). */
|
||||
timeWindowsAreUTC: boolean;
|
||||
/** Travel modes define how a pedestrian, car, truck or other medium of transportation moves through the street network. */
|
||||
travelMode: any;
|
||||
/** If true, the hierarchy attribute for the network should be used in analysis. */
|
||||
@@ -16696,7 +16814,7 @@ declare module "esri/tasks/query" {
|
||||
static SPATIAL_REL_TOUCHES: any;
|
||||
/** The feature from feature class 1 is completely enclosed by the feature from feature class 2. */
|
||||
static SPATIAL_REL_WITHIN: any;
|
||||
/** Distance to buffer input geometry. */
|
||||
/** Buffer distance for input geometries. */
|
||||
distance: number;
|
||||
/** The geometry to apply to the spatial filter. */
|
||||
geometry: Geometry;
|
||||
@@ -16738,7 +16856,7 @@ declare module "esri/tasks/query" {
|
||||
text: string;
|
||||
/** Specify a time extent for the query. */
|
||||
timeExtent: TimeExtent;
|
||||
/** Distance unit. */
|
||||
/** The unit for calculating the buffer distance. */
|
||||
units: string;
|
||||
/** A where clause for the query. */
|
||||
where: string;
|
||||
@@ -17055,7 +17173,7 @@ declare module "esri/toolbars/navigation" {
|
||||
* @param symbol The SimpleFillSymbol used for the rubber band zoom.
|
||||
*/
|
||||
setZoomSymbol(symbol: Symbol): void;
|
||||
/** Zoom to full extent of base layer. */
|
||||
/** Zoom to initial extent of base layer. */
|
||||
zoomToFullExtent(): void;
|
||||
/** Zoom to next extent in extent history. */
|
||||
zoomToNextExtent(): void;
|
||||
|
||||
Reference in New Issue
Block a user