Select to view content in your preferred language

Please include map-components in the JS API zip download

171
1
Wednesday
Status: Open
Labels (2)
GILBERTNG1
Occasional Contributor

I noticed that there is no equivalent of https://js.arcgis.com/4.33/map-components/ included in this subfolder in the latest ArcGIS JS API 4.33 download: 

arcgis_js_v433_api.zip\arcgis_js_v433_api\arcgis_js_api\javascript\4.33\@arcgis

Our GIS organization hosts the JS API internally on a separate IIS virtual directory, rather than installing the API on every GIS web app Visual Studio solution. Please include the new compiled JS map components (widget replacements) in the zip file download. 

1 Comment
Noah-Sager

Hi @GILBERTNG1, thank you for posting your idea here. We are going to review our download story and improve it to explain how to get the components locally. It won't be zipped and included with the API, but you can download directly from npm registry url.

More information is available in this guide topic: https://developers.arcgis.com/javascript/latest/working-with-assets/ 

For components, the CDN files are available thru npm in the "dist/cdn" folder. You can get them with npm or direct http. For example:

npm install @arcgis/map-components

or

curl https://registry.npmjs.org/@arcgis/map-components/-/map-components-4.33.16.tgz