4.29.10 • Published 2 days ago

@arcgis/core v4.29.10

Weekly downloads
2,335
License
SEE LICENSE IN co...
Repository
-
Last release
2 days ago

@arcgis/core (beta)

ArcGIS API for JavaScript ES modules.

These ES modules are in beta and are not intended for use in production applications.

Features

You can install this minified, unbuilt version of the API via npm and then use the modules directly in a framework such as React, Vue.js or Angular. Or, you can also create your own custom builds with Webpack or rollup.js.

Sample applications can be found here.

Instructions

npm install @arcgis/core

The styles, images, fonts, and localization files are located in the @arcgis/core/assets folder and will need to be copied to your build folder. There are various ways to accomplish this depending on your build tooling, below are several code snippets demonstrating the concept.

For React, use ncp to copy the asset files to the build directory:

# package.json
{
  "scripts": {
    "start": "ncp ./node_modules/@arcgis/core/assets ./public/assets && react-scripts start",
    "build": "ncp ./node_modules/@arcgis/core/assets ./public/assets && react-scripts build",
  }
}

For Angular, configure copying asset files using the architect/build/options/assets section of angular.json

# angular.json
{
  "assets": [
    {
      "glob": "**/*",
      "input": "node_modules/@arcgis/core/assets",
      "output": "/assets/"
    }
  ]
}

For other installations, consider using this package script as a starting point:

# package.json
{
  "script": {
    "copy": "cp -R ./node_modules/@arcgis/core/assets ./dist/assets"
  }
}

Windows users can use xcopy or ncp for any platform.

Requirements

Building apps with the ArcGIS API for JavaScript requires signing up for a ArcGIS Developer Subscription.

Resources

Issues

Licensing

COPYRIGHT © 2020 Esri

All rights reserved under the copyright laws of the United States and applicable international laws, treaties, and conventions.

This material is licensed for use under the Esri Master License Agreement (MLA), and is bound by the terms of that agreement. You may redistribute and use this code without modification, provided you adhere to the terms of the MLA and include this copyright notice.

For additional information, contact: Environmental Systems Research Institute, Inc. Attn: Contracts and Legal Services Department 380 New York Street Redlands, California, USA 92373 USA

email: contracts@esri.com

inspection-mire-web@agauch/mapcontrolarcmap001farcmap002fhdgisapi@infinitebrahmanuniverse/nolb-_arcg@hbgxgis/arcgis-single-view-helperwcsmap@everything-registry/sub-chunk-78gisviewer-vue2-arcgisgisviewer-vue3-arcgisfssg.gis.core.esrifzzt_pluginsgd_map_componentsgd-mapesri-map-viewemap-vuedropdown-package-reacthqit-componenthqit-testlayer-list-custom-web-component@usepa-ngst/calicite-componentsmap-pluginmap-plugin-arcgismap-component-stenciljsmapgisapimaps-webcomponents-stencilnelsa-cs-vertigis-prodmy-jsapi-vue-testmomra-gis-componentsmomra-gis-core2ms_gisol-gis-projectplainmapraleigh-map-componentsraleigh-map-components-devraleigh-stencil-componentsramp-pcarnewy-weather-widgettt-mapcontroltils-first-weather-widgettingfeng_arcgisvue3-arcgis4-npmsymbolmanagerwcsmap-v2vue-arcgismap-componentsztland-mapwidget-webpackwidget-xygoworkflow-activities-vanguard-toolsworkforce-web-componentsxpmapzbcx_fzztzdy-com@agrc/mouse-trap@agrotools1/at-components@axux/map@dimesvnpm/weather-widget@vertigis/workflow-activities-utility-network@vue-mapp-kit/esri@xizher/esri@trevorwu/arcgis-echarts-layer@usepa-ngst/calcite-components@tacasmisaico/esriab-gis-componentsarctic-maparctron-gisarcgis-quick-maparcgis-simplearcgis-vue3arcgis-js-sdk-markerarcgis-js-utilsarcgis-map-pluginarcgis-maps-js-draggable-markerarcgis4js-componentsarc-hydro-componentsarcgis-api-renamearcgis-comparcgis-custom-widget@vernonia/core@vernonia/georeferenced-media@vernonia/map-application@vertigis/web@vertigis/workflow-activities-arcgis-core@chunkangwong/grid-query-features@fssgis/fssg-esri@fssgis/fssg-esri-hooks@coa-it/mapwidget-featureselect@ceicei/app@ecgc/ramp@eaglegis/weather-widget@hahmad/arcgis-rest-helper@hcflgov/vue-esri-search@oneblink/apps-react@jindin/arcgis-tdt@mikepianka/arcgis-js-hooks@shuimin/simple-npm-package@philippkoelmel/arcgis-threejs-externalrenderer@stavelmashally/react-giscomponent-gis-test
4.29.10

2 months ago

4.29.9

2 months ago

4.29.8

2 months ago

4.29.7

2 months ago

4.29.6

2 months ago

4.29.5

2 months ago

4.29.4

2 months ago

4.29.3

2 months ago

4.29.2

2 months ago

4.29.1

2 months ago

4.29.0

2 months ago

4.28.8

6 months ago

4.28.9

6 months ago

4.28.10

6 months ago

4.28.2

6 months ago

4.28.3

6 months ago

4.28.4

6 months ago

4.28.5

6 months ago

4.28.1

6 months ago

4.28.6

6 months ago

4.28.7

6 months ago

4.28.0

7 months ago

4.28.0-rc.1

7 months ago

4.28.0-rc.0

7 months ago

4.28.0-rc.4

7 months ago

4.28.0-rc.3

7 months ago

4.28.0-rc.2

7 months ago

4.27.6

10 months ago

4.27.3

11 months ago

4.27.4

11 months ago

4.27.5

11 months ago

4.27.0

11 months ago

4.27.1

11 months ago

4.27.2

11 months ago

4.27.0-rc.0

11 months ago

4.27.0-rc.5

11 months ago

4.27.0-rc.1

11 months ago

4.27.0-rc.2

11 months ago

4.27.0-rc.3

11 months ago

4.27.0-rc.4

11 months ago

4.26.4

1 year ago

4.26.5

1 year ago

4.26.0

1 year ago

4.26.1

1 year ago

4.26.2

1 year ago

4.26.3

1 year ago

4.25.0

1 year ago

4.25.5

1 year ago

4.25.1

1 year ago

4.25.2

1 year ago

4.25.3

1 year ago

4.25.4

1 year ago

4.24.0

2 years ago

4.24.1

2 years ago

4.24.6

2 years ago

4.24.7

2 years ago

4.24.2

2 years ago

4.24.3

2 years ago

4.24.4

2 years ago

4.24.5

2 years ago

4.23.0

2 years ago

4.23.1

2 years ago

4.23.2

2 years ago

4.23.7

2 years ago

4.23.3

2 years ago

4.23.4

2 years ago

4.23.5

2 years ago

4.23.6

2 years ago

4.22.0

2 years ago

4.22.1

2 years ago

4.22.2

2 years ago

4.21.2

3 years ago

4.21.1

3 years ago

4.21.0

3 years ago

4.20.2

3 years ago

4.20.0

3 years ago

4.20.1

3 years ago

4.19.1

3 years ago

4.19.2

3 years ago

4.19.3

3 years ago

4.19.0

3 years ago

4.18.1

3 years ago

4.18.0

3 years ago