Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
@wsdot/arcgis-buffer-ui-connector-v3
Advanced tools
@wsdot/arcgis-buffer-ui-connector-v3 ====================================
This package is for use with @wsdot/arcgis-buffer-ui and is used for connecting the UI to an ArcGIS API for JavaScript (version 3.X) map.
npm add @wsdot/arcgis-buffer-ui @wsdot/arcgis-buffer-ui-connector-v3
import { BufferUI } from "@wsdot/arcgis-buffer-ui";
import { attachBufferUIToMap } from "@wsdot/arcgis-buffer-ui-connector-v3";
import arcgisUtils from "esri/arcgis/utils";
import esriConfig from "esri/config";
// Create the Buffer UI in the specified node.
const bufferElement = document.getElementById("buffer")!;
const buffer = new BufferUI(bufferElement);
// Create a map from a predefined webmap on AGOL.
arcgisUtils
.createMap("927b5daaa7f4434db4b312364489544d", "map")
.then((response: any) => {
const map = response.map;
// Setup the Buffer UI with the map.
attachBufferUIToMap(map, buffer);
// Turn on some layers that are off by default.
const airportRe = /^((Airport)|(CityLimits))/i;
for (const layerId of map.layerIds) {
if (airportRe.test(layerId)) {
const layer = map.getLayer(layerId);
layer.show();
}
}
});
FAQs
@wsdot/arcgis-buffer-ui-connector-v3 ====================================
The npm package @wsdot/arcgis-buffer-ui-connector-v3 receives a total of 1 weekly downloads. As such, @wsdot/arcgis-buffer-ui-connector-v3 popularity was classified as not popular.
We found that @wsdot/arcgis-buffer-ui-connector-v3 demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.