mirror of
https://github.com/chenasraf/DefinitelyTyped.git
synced 2026-05-18 01:49:01 +00:00
🤖 Merge PR #50184 [arcgis-js-api] Update for version 3.35 by @dasa
This commit is contained in:
@@ -19,3 +19,8 @@ class MapController {
|
||||
this.map = new Map(this.mapDiv, mapOptions);
|
||||
}
|
||||
}
|
||||
|
||||
import WFSLayer = require("esri/layers/WFSLayer");
|
||||
|
||||
const wfsLayer = new WFSLayer({ url: "https://esri.com" });
|
||||
wfsLayer.fromJson({}, () => {});
|
||||
|
||||
5
types/arcgis-js-api/v3/index.d.ts
vendored
5
types/arcgis-js-api/v3/index.d.ts
vendored
@@ -1,4 +1,4 @@
|
||||
// Type definitions for ArcGIS API for JavaScript 3.34
|
||||
// Type definitions for ArcGIS API for JavaScript 3.35
|
||||
// Project: https://developers.arcgis.com/javascript/3/
|
||||
// Definitions by: Esri <https://github.com/Esri>
|
||||
// Bjorn Svensson <https://github.com/bsvensson>
|
||||
@@ -11902,8 +11902,9 @@ declare module "esri/layers/WFSLayer" {
|
||||
/**
|
||||
* Creates a WFSLayer using the provided JSON object.
|
||||
* @param json The input JSON.
|
||||
* @param callback The function to call when the method has completed.
|
||||
*/
|
||||
fromJson(json: Object): void;
|
||||
fromJson(json: Object, callback?: Function): void;
|
||||
/** Redraws all the graphics in the layer. */
|
||||
redraw(): void;
|
||||
/** Refreshes the features in the WFS layer. */
|
||||
|
||||
Reference in New Issue
Block a user