JSPM

@arcgis/core

4.29.0-next.20231108
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 162392
  • Score
    100M100P100Q163782F
  • License SEE LICENSE IN copyright.txt

ArcGIS Maps SDK for JavaScript: A complete 2D and 3D mapping and data visualization API

Package Exports

  • @arcgis/core/Basemap
  • @arcgis/core/Basemap.js
  • @arcgis/core/Camera
  • @arcgis/core/Camera.js
  • @arcgis/core/Color
  • @arcgis/core/Color.js
  • @arcgis/core/Graphic
  • @arcgis/core/Graphic.js
  • @arcgis/core/Ground
  • @arcgis/core/Ground.js
  • @arcgis/core/Map
  • @arcgis/core/Map.js
  • @arcgis/core/PopupTemplate
  • @arcgis/core/PopupTemplate.js
  • @arcgis/core/TimeExtent
  • @arcgis/core/TimeExtent.js
  • @arcgis/core/TimeInterval
  • @arcgis/core/TimeInterval.js
  • @arcgis/core/Viewpoint
  • @arcgis/core/Viewpoint.js
  • @arcgis/core/WebMap
  • @arcgis/core/WebMap.js
  • @arcgis/core/WebScene
  • @arcgis/core/WebScene.js
  • @arcgis/core/arcade/arcade
  • @arcgis/core/arcade/arcade.js
  • @arcgis/core/assets/esri/css/main.css
  • @arcgis/core/assets/esri/themes/dark/main.css
  • @arcgis/core/assets/esri/themes/light/main.css
  • @arcgis/core/config
  • @arcgis/core/config.js
  • @arcgis/core/core/Accessor
  • @arcgis/core/core/Accessor.js
  • @arcgis/core/core/Collection
  • @arcgis/core/core/Collection.js
  • @arcgis/core/core/Error
  • @arcgis/core/core/Error.js
  • @arcgis/core/core/Evented
  • @arcgis/core/core/Evented.js
  • @arcgis/core/core/Warning
  • @arcgis/core/core/Warning.js
  • @arcgis/core/core/accessorSupport/decorators
  • @arcgis/core/core/accessorSupport/decorators.js
  • @arcgis/core/core/accessorSupport/decorators/property
  • @arcgis/core/core/accessorSupport/decorators/property.js
  • @arcgis/core/core/accessorSupport/decorators/subclass
  • @arcgis/core/core/accessorSupport/decorators/subclass.js
  • @arcgis/core/core/promiseUtils
  • @arcgis/core/core/promiseUtils.js
  • @arcgis/core/core/reactiveUtils
  • @arcgis/core/core/reactiveUtils.js
  • @arcgis/core/core/urlUtils
  • @arcgis/core/core/urlUtils.js
  • @arcgis/core/form/FormTemplate
  • @arcgis/core/form/FormTemplate.js
  • @arcgis/core/geometry
  • @arcgis/core/geometry.js
  • @arcgis/core/geometry/Circle
  • @arcgis/core/geometry/Circle.js
  • @arcgis/core/geometry/Extent
  • @arcgis/core/geometry/Extent.js
  • @arcgis/core/geometry/Geometry
  • @arcgis/core/geometry/Geometry.js
  • @arcgis/core/geometry/Multipoint
  • @arcgis/core/geometry/Multipoint.js
  • @arcgis/core/geometry/Point
  • @arcgis/core/geometry/Point.js
  • @arcgis/core/geometry/Polygon
  • @arcgis/core/geometry/Polygon.js
  • @arcgis/core/geometry/Polyline
  • @arcgis/core/geometry/Polyline.js
  • @arcgis/core/geometry/SpatialReference
  • @arcgis/core/geometry/SpatialReference.js
  • @arcgis/core/geometry/coordinateFormatter
  • @arcgis/core/geometry/coordinateFormatter.js
  • @arcgis/core/geometry/geometryEngine
  • @arcgis/core/geometry/geometryEngine.js
  • @arcgis/core/geometry/geometryEngineAsync
  • @arcgis/core/geometry/geometryEngineAsync.js
  • @arcgis/core/geometry/projection
  • @arcgis/core/geometry/projection.js
  • @arcgis/core/geometry/support/jsonUtils
  • @arcgis/core/geometry/support/jsonUtils.js
  • @arcgis/core/geometry/support/webMercatorUtils
  • @arcgis/core/geometry/support/webMercatorUtils.js
  • @arcgis/core/identity/IdentityManager
  • @arcgis/core/identity/IdentityManager.js
  • @arcgis/core/identity/OAuthInfo
  • @arcgis/core/identity/OAuthInfo.js
  • @arcgis/core/identity/ServerInfo
  • @arcgis/core/identity/ServerInfo.js
  • @arcgis/core/intl
  • @arcgis/core/intl.js
  • @arcgis/core/kernel
  • @arcgis/core/kernel.js
  • @arcgis/core/layers/BaseElevationLayer
  • @arcgis/core/layers/BaseElevationLayer.js
  • @arcgis/core/layers/BaseTileLayer
  • @arcgis/core/layers/BaseTileLayer.js
  • @arcgis/core/layers/BingMapsLayer
  • @arcgis/core/layers/BingMapsLayer.js
  • @arcgis/core/layers/BuildingSceneLayer
  • @arcgis/core/layers/BuildingSceneLayer.js
  • @arcgis/core/layers/CSVLayer
  • @arcgis/core/layers/CSVLayer.js
  • @arcgis/core/layers/ElevationLayer
  • @arcgis/core/layers/ElevationLayer.js
  • @arcgis/core/layers/FeatureLayer
  • @arcgis/core/layers/FeatureLayer.js
  • @arcgis/core/layers/GeoJSONLayer
  • @arcgis/core/layers/GeoJSONLayer.js
  • @arcgis/core/layers/GeoRSSLayer
  • @arcgis/core/layers/GeoRSSLayer.js
  • @arcgis/core/layers/GraphicsLayer
  • @arcgis/core/layers/GraphicsLayer.js
  • @arcgis/core/layers/GroupLayer
  • @arcgis/core/layers/GroupLayer.js
  • @arcgis/core/layers/ImageryLayer
  • @arcgis/core/layers/ImageryLayer.js
  • @arcgis/core/layers/ImageryTileLayer
  • @arcgis/core/layers/ImageryTileLayer.js
  • @arcgis/core/layers/IntegratedMeshLayer
  • @arcgis/core/layers/IntegratedMeshLayer.js
  • @arcgis/core/layers/KMLLayer
  • @arcgis/core/layers/KMLLayer.js
  • @arcgis/core/layers/Layer
  • @arcgis/core/layers/Layer.js
  • @arcgis/core/layers/MapImageLayer
  • @arcgis/core/layers/MapImageLayer.js
  • @arcgis/core/layers/OGCFeatureLayer
  • @arcgis/core/layers/OGCFeatureLayer.js
  • @arcgis/core/layers/OpenStreetMapLayer
  • @arcgis/core/layers/OpenStreetMapLayer.js
  • @arcgis/core/layers/PointCloudLayer
  • @arcgis/core/layers/PointCloudLayer.js
  • @arcgis/core/layers/SceneLayer
  • @arcgis/core/layers/SceneLayer.js
  • @arcgis/core/layers/StreamLayer
  • @arcgis/core/layers/StreamLayer.js
  • @arcgis/core/layers/TileLayer
  • @arcgis/core/layers/TileLayer.js
  • @arcgis/core/layers/UnsupportedLayer
  • @arcgis/core/layers/UnsupportedLayer.js
  • @arcgis/core/layers/VectorTileLayer
  • @arcgis/core/layers/VectorTileLayer.js
  • @arcgis/core/layers/WMSLayer
  • @arcgis/core/layers/WMSLayer.js
  • @arcgis/core/layers/WMTSLayer
  • @arcgis/core/layers/WMTSLayer.js
  • @arcgis/core/layers/WebTileLayer
  • @arcgis/core/layers/WebTileLayer.js
  • @arcgis/core/layers/buildingSublayers/BuildingComponentSublayer
  • @arcgis/core/layers/buildingSublayers/BuildingComponentSublayer.js
  • @arcgis/core/layers/buildingSublayers/BuildingGroupSublayer
  • @arcgis/core/layers/buildingSublayers/BuildingGroupSublayer.js
  • @arcgis/core/layers/effects/jsonUtils
  • @arcgis/core/layers/effects/jsonUtils.js
  • @arcgis/core/layers/support/BuildingFilter
  • @arcgis/core/layers/support/BuildingFilter.js
  • @arcgis/core/layers/support/CodedValueDomain
  • @arcgis/core/layers/support/CodedValueDomain.js
  • @arcgis/core/layers/support/FeatureFilter
  • @arcgis/core/layers/support/FeatureFilter.js
  • @arcgis/core/layers/support/FeatureReductionCluster
  • @arcgis/core/layers/support/FeatureReductionCluster.js
  • @arcgis/core/layers/support/FeatureReductionSelection
  • @arcgis/core/layers/support/FeatureReductionSelection.js
  • @arcgis/core/layers/support/FeatureTemplate
  • @arcgis/core/layers/support/FeatureTemplate.js
  • @arcgis/core/layers/support/FeatureType
  • @arcgis/core/layers/support/FeatureType.js
  • @arcgis/core/layers/support/Field
  • @arcgis/core/layers/support/Field.js
  • @arcgis/core/layers/support/InheritedDomain
  • @arcgis/core/layers/support/InheritedDomain.js
  • @arcgis/core/layers/support/KMLSublayer
  • @arcgis/core/layers/support/KMLSublayer.js
  • @arcgis/core/layers/support/LOD
  • @arcgis/core/layers/support/LOD.js
  • @arcgis/core/layers/support/LabelClass
  • @arcgis/core/layers/support/LabelClass.js
  • @arcgis/core/layers/support/MosaicRule
  • @arcgis/core/layers/support/MosaicRule.js
  • @arcgis/core/layers/support/RangeDomain
  • @arcgis/core/layers/support/RangeDomain.js
  • @arcgis/core/layers/support/RasterFunction
  • @arcgis/core/layers/support/RasterFunction.js
  • @arcgis/core/layers/support/SceneModification
  • @arcgis/core/layers/support/SceneModification.js
  • @arcgis/core/layers/support/SceneModifications
  • @arcgis/core/layers/support/SceneModifications.js
  • @arcgis/core/layers/support/Sublayer
  • @arcgis/core/layers/support/Sublayer.js
  • @arcgis/core/layers/support/TileInfo
  • @arcgis/core/layers/support/TileInfo.js
  • @arcgis/core/layers/support/TimeInfo
  • @arcgis/core/layers/support/TimeInfo.js
  • @arcgis/core/layers/support/WMSSublayer
  • @arcgis/core/layers/support/WMSSublayer.js
  • @arcgis/core/layers/support/WMTSSublayer
  • @arcgis/core/layers/support/WMTSSublayer.js
  • @arcgis/core/layers/support/source/DataLayerSource
  • @arcgis/core/layers/support/source/DataLayerSource.js
  • @arcgis/core/layers/support/source/MapLayerSource
  • @arcgis/core/layers/support/source/MapLayerSource.js
  • @arcgis/core/popup/ExpressionInfo
  • @arcgis/core/popup/ExpressionInfo.js
  • @arcgis/core/popup/FieldInfo
  • @arcgis/core/popup/FieldInfo.js
  • @arcgis/core/popup/content/CustomContent
  • @arcgis/core/popup/content/CustomContent.js
  • @arcgis/core/popup/content/ImageMediaInfo
  • @arcgis/core/popup/content/ImageMediaInfo.js
  • @arcgis/core/portal/Portal
  • @arcgis/core/portal/Portal.js
  • @arcgis/core/portal/PortalItem
  • @arcgis/core/portal/PortalItem.js
  • @arcgis/core/portal/PortalQueryParams
  • @arcgis/core/portal/PortalQueryParams.js
  • @arcgis/core/renderers/ClassBreaksRenderer
  • @arcgis/core/renderers/ClassBreaksRenderer.js
  • @arcgis/core/renderers/HeatmapRenderer
  • @arcgis/core/renderers/HeatmapRenderer.js
  • @arcgis/core/renderers/PointCloudClassBreaksRenderer
  • @arcgis/core/renderers/PointCloudClassBreaksRenderer.js
  • @arcgis/core/renderers/PointCloudRGBRenderer
  • @arcgis/core/renderers/PointCloudRGBRenderer.js
  • @arcgis/core/renderers/PointCloudStretchRenderer
  • @arcgis/core/renderers/PointCloudStretchRenderer.js
  • @arcgis/core/renderers/PointCloudUniqueValueRenderer
  • @arcgis/core/renderers/PointCloudUniqueValueRenderer.js
  • @arcgis/core/renderers/SimpleRenderer
  • @arcgis/core/renderers/SimpleRenderer.js
  • @arcgis/core/renderers/UniqueValueRenderer
  • @arcgis/core/renderers/UniqueValueRenderer.js
  • @arcgis/core/renderers/VectorFieldRenderer
  • @arcgis/core/renderers/VectorFieldRenderer.js
  • @arcgis/core/renderers/support/jsonUtils
  • @arcgis/core/renderers/support/jsonUtils.js
  • @arcgis/core/request
  • @arcgis/core/request.js
  • @arcgis/core/rest/geometryService
  • @arcgis/core/rest/geometryService.js
  • @arcgis/core/rest/imageService
  • @arcgis/core/rest/imageService.js
  • @arcgis/core/rest/locator
  • @arcgis/core/rest/locator.js
  • @arcgis/core/rest/query
  • @arcgis/core/rest/query.js
  • @arcgis/core/rest/route
  • @arcgis/core/rest/route.js
  • @arcgis/core/rest/support/BufferParameters
  • @arcgis/core/rest/support/BufferParameters.js
  • @arcgis/core/rest/support/FeatureSet
  • @arcgis/core/rest/support/FeatureSet.js
  • @arcgis/core/rest/support/IdentifyParameters
  • @arcgis/core/rest/support/IdentifyParameters.js
  • @arcgis/core/rest/support/ImageIdentifyParameters
  • @arcgis/core/rest/support/ImageIdentifyParameters.js
  • @arcgis/core/rest/support/PrintTemplate
  • @arcgis/core/rest/support/PrintTemplate.js
  • @arcgis/core/rest/support/ProjectParameters
  • @arcgis/core/rest/support/ProjectParameters.js
  • @arcgis/core/rest/support/Query
  • @arcgis/core/rest/support/Query.js
  • @arcgis/core/rest/support/RelationshipQuery
  • @arcgis/core/rest/support/RelationshipQuery.js
  • @arcgis/core/rest/support/RouteParameters
  • @arcgis/core/rest/support/RouteParameters.js
  • @arcgis/core/support/MapFloorInfo
  • @arcgis/core/support/MapFloorInfo.js
  • @arcgis/core/support/arcadeUtils
  • @arcgis/core/support/arcadeUtils.js
  • @arcgis/core/symbols
  • @arcgis/core/symbols.js
  • @arcgis/core/symbols/CIMSymbol
  • @arcgis/core/symbols/CIMSymbol.js
  • @arcgis/core/symbols/Font
  • @arcgis/core/symbols/Font.js
  • @arcgis/core/symbols/IconSymbol3DLayer
  • @arcgis/core/symbols/IconSymbol3DLayer.js
  • @arcgis/core/symbols/LabelSymbol3D
  • @arcgis/core/symbols/LabelSymbol3D.js
  • @arcgis/core/symbols/LineSymbol3D
  • @arcgis/core/symbols/LineSymbol3D.js
  • @arcgis/core/symbols/MeshSymbol3D
  • @arcgis/core/symbols/MeshSymbol3D.js
  • @arcgis/core/symbols/ObjectSymbol3DLayer
  • @arcgis/core/symbols/ObjectSymbol3DLayer.js
  • @arcgis/core/symbols/PictureFillSymbol
  • @arcgis/core/symbols/PictureFillSymbol.js
  • @arcgis/core/symbols/PictureMarkerSymbol
  • @arcgis/core/symbols/PictureMarkerSymbol.js
  • @arcgis/core/symbols/PointSymbol3D
  • @arcgis/core/symbols/PointSymbol3D.js
  • @arcgis/core/symbols/PolygonSymbol3D
  • @arcgis/core/symbols/PolygonSymbol3D.js
  • @arcgis/core/symbols/SimpleFillSymbol
  • @arcgis/core/symbols/SimpleFillSymbol.js
  • @arcgis/core/symbols/SimpleLineSymbol
  • @arcgis/core/symbols/SimpleLineSymbol.js
  • @arcgis/core/symbols/SimpleMarkerSymbol
  • @arcgis/core/symbols/SimpleMarkerSymbol.js
  • @arcgis/core/symbols/Symbol
  • @arcgis/core/symbols/Symbol.js
  • @arcgis/core/symbols/Symbol3D
  • @arcgis/core/symbols/Symbol3D.js
  • @arcgis/core/symbols/TextSymbol
  • @arcgis/core/symbols/TextSymbol.js
  • @arcgis/core/symbols/edges/Edges3D
  • @arcgis/core/symbols/edges/Edges3D.js
  • @arcgis/core/symbols/support/jsonUtils
  • @arcgis/core/symbols/support/jsonUtils.js
  • @arcgis/core/symbols/support/symbolUtils
  • @arcgis/core/symbols/support/symbolUtils.js
  • @arcgis/core/views/2d/layers/BaseLayerViewGL2D
  • @arcgis/core/views/2d/layers/BaseLayerViewGL2D.js
  • @arcgis/core/views/3d/externalRenderers
  • @arcgis/core/views/3d/externalRenderers.js
  • @arcgis/core/views/MapView
  • @arcgis/core/views/MapView.js
  • @arcgis/core/views/SceneView
  • @arcgis/core/views/SceneView.js
  • @arcgis/core/views/draw/Draw
  • @arcgis/core/views/draw/Draw.js
  • @arcgis/core/views/interactive/snapping/FeatureSnappingLayerSource
  • @arcgis/core/views/interactive/snapping/FeatureSnappingLayerSource.js
  • @arcgis/core/views/interactive/snapping/SnappingOptions
  • @arcgis/core/views/interactive/snapping/SnappingOptions.js
  • @arcgis/core/webmap/Bookmark
  • @arcgis/core/webmap/Bookmark.js
  • @arcgis/core/webmap/InitialViewProperties
  • @arcgis/core/webmap/InitialViewProperties.js
  • @arcgis/core/webscene/Environment
  • @arcgis/core/webscene/Environment.js
  • @arcgis/core/webscene/InitialViewProperties
  • @arcgis/core/webscene/InitialViewProperties.js
  • @arcgis/core/webscene/Lighting
  • @arcgis/core/webscene/Lighting.js
  • @arcgis/core/webscene/Presentation
  • @arcgis/core/webscene/Presentation.js
  • @arcgis/core/webscene/Slide
  • @arcgis/core/webscene/Slide.js
  • @arcgis/core/widgets/AreaMeasurement2D
  • @arcgis/core/widgets/AreaMeasurement2D.js
  • @arcgis/core/widgets/AreaMeasurement3D
  • @arcgis/core/widgets/AreaMeasurement3D.js
  • @arcgis/core/widgets/Attachments
  • @arcgis/core/widgets/Attachments.js
  • @arcgis/core/widgets/Attribution
  • @arcgis/core/widgets/Attribution.js
  • @arcgis/core/widgets/BasemapGallery
  • @arcgis/core/widgets/BasemapGallery.js
  • @arcgis/core/widgets/BasemapGallery/support/LocalBasemapsSource
  • @arcgis/core/widgets/BasemapGallery/support/LocalBasemapsSource.js
  • @arcgis/core/widgets/BasemapLayerList
  • @arcgis/core/widgets/BasemapLayerList.js
  • @arcgis/core/widgets/BasemapToggle
  • @arcgis/core/widgets/BasemapToggle.js
  • @arcgis/core/widgets/Bookmarks
  • @arcgis/core/widgets/Bookmarks.js
  • @arcgis/core/widgets/BuildingExplorer
  • @arcgis/core/widgets/BuildingExplorer.js
  • @arcgis/core/widgets/Compass
  • @arcgis/core/widgets/Compass.js
  • @arcgis/core/widgets/CoordinateConversion
  • @arcgis/core/widgets/CoordinateConversion.js
  • @arcgis/core/widgets/CoordinateConversion/support/Conversion
  • @arcgis/core/widgets/CoordinateConversion/support/Conversion.js
  • @arcgis/core/widgets/CoordinateConversion/support/Format
  • @arcgis/core/widgets/CoordinateConversion/support/Format.js
  • @arcgis/core/widgets/Daylight
  • @arcgis/core/widgets/Daylight.js
  • @arcgis/core/widgets/DirectLineMeasurement3D
  • @arcgis/core/widgets/DirectLineMeasurement3D.js
  • @arcgis/core/widgets/Directions
  • @arcgis/core/widgets/Directions.js
  • @arcgis/core/widgets/DistanceMeasurement2D
  • @arcgis/core/widgets/DistanceMeasurement2D.js
  • @arcgis/core/widgets/Editor
  • @arcgis/core/widgets/Editor.js
  • @arcgis/core/widgets/ElevationProfile
  • @arcgis/core/widgets/ElevationProfile.js
  • @arcgis/core/widgets/ElevationProfile/ElevationProfileLineGround
  • @arcgis/core/widgets/ElevationProfile/ElevationProfileLineGround.js
  • @arcgis/core/widgets/Expand
  • @arcgis/core/widgets/Expand.js
  • @arcgis/core/widgets/Feature
  • @arcgis/core/widgets/Feature.js
  • @arcgis/core/widgets/Feature/support/arcadeFeatureUtils
  • @arcgis/core/widgets/Feature/support/arcadeFeatureUtils.js
  • @arcgis/core/widgets/FeatureForm
  • @arcgis/core/widgets/FeatureForm.js
  • @arcgis/core/widgets/FeatureTable
  • @arcgis/core/widgets/FeatureTable.js
  • @arcgis/core/widgets/FeatureTemplates
  • @arcgis/core/widgets/FeatureTemplates.js
  • @arcgis/core/widgets/FloorFilter
  • @arcgis/core/widgets/FloorFilter.js
  • @arcgis/core/widgets/Fullscreen
  • @arcgis/core/widgets/Fullscreen.js
  • @arcgis/core/widgets/Fullscreen/FullscreenViewModel
  • @arcgis/core/widgets/Fullscreen/FullscreenViewModel.js
  • @arcgis/core/widgets/Histogram
  • @arcgis/core/widgets/Histogram.js
  • @arcgis/core/widgets/Home
  • @arcgis/core/widgets/Home.js
  • @arcgis/core/widgets/Home/HomeViewModel
  • @arcgis/core/widgets/Home/HomeViewModel.js
  • @arcgis/core/widgets/LayerList
  • @arcgis/core/widgets/LayerList.js
  • @arcgis/core/widgets/LayerList/LayerListViewModel
  • @arcgis/core/widgets/LayerList/LayerListViewModel.js
  • @arcgis/core/widgets/Legend
  • @arcgis/core/widgets/Legend.js
  • @arcgis/core/widgets/LineOfSight
  • @arcgis/core/widgets/LineOfSight.js
  • @arcgis/core/widgets/Locate
  • @arcgis/core/widgets/Locate.js
  • @arcgis/core/widgets/Locate/LocateViewModel
  • @arcgis/core/widgets/Locate/LocateViewModel.js
  • @arcgis/core/widgets/Measurement
  • @arcgis/core/widgets/Measurement.js
  • @arcgis/core/widgets/NavigationToggle
  • @arcgis/core/widgets/NavigationToggle.js
  • @arcgis/core/widgets/Popup
  • @arcgis/core/widgets/Popup.js
  • @arcgis/core/widgets/Print
  • @arcgis/core/widgets/Print.js
  • @arcgis/core/widgets/Print/PrintViewModel
  • @arcgis/core/widgets/Print/PrintViewModel.js
  • @arcgis/core/widgets/ScaleBar
  • @arcgis/core/widgets/ScaleBar.js
  • @arcgis/core/widgets/ScaleRangeSlider
  • @arcgis/core/widgets/ScaleRangeSlider.js
  • @arcgis/core/widgets/Search
  • @arcgis/core/widgets/Search.js
  • @arcgis/core/widgets/Search/LayerSearchSource
  • @arcgis/core/widgets/Search/LayerSearchSource.js
  • @arcgis/core/widgets/Search/SearchViewModel
  • @arcgis/core/widgets/Search/SearchViewModel.js
  • @arcgis/core/widgets/ShadowCast
  • @arcgis/core/widgets/ShadowCast.js
  • @arcgis/core/widgets/Sketch
  • @arcgis/core/widgets/Sketch.js
  • @arcgis/core/widgets/Sketch/SketchViewModel
  • @arcgis/core/widgets/Sketch/SketchViewModel.js
  • @arcgis/core/widgets/Slice
  • @arcgis/core/widgets/Slice.js
  • @arcgis/core/widgets/Slider
  • @arcgis/core/widgets/Slider.js
  • @arcgis/core/widgets/Swipe
  • @arcgis/core/widgets/Swipe.js
  • @arcgis/core/widgets/TableList
  • @arcgis/core/widgets/TableList.js
  • @arcgis/core/widgets/TimeSlider
  • @arcgis/core/widgets/TimeSlider.js
  • @arcgis/core/widgets/Track
  • @arcgis/core/widgets/Track.js
  • @arcgis/core/widgets/Widget
  • @arcgis/core/widgets/Widget.js
  • @arcgis/core/widgets/Zoom
  • @arcgis/core/widgets/Zoom.js
  • @arcgis/core/widgets/Zoom/ZoomViewModel
  • @arcgis/core/widgets/Zoom/ZoomViewModel.js
  • @arcgis/core/widgets/smartMapping/ColorSlider
  • @arcgis/core/widgets/smartMapping/ColorSlider.js
  • @arcgis/core/widgets/support/widget
  • @arcgis/core/widgets/support/widget.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@arcgis/core) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

@arcgis/core

A minified, unbuilt version of the ArcGIS Maps SDK for JavaScript ES modules.

Features

For an overview of the SDK, visit the developer documentation site.

You can install this package with npm and then use it directly in a framework such as React, Vue.js or Angular. Or, you can also create your own custom builds with a module bundler such as Webpack or Rollup.

The SDK includes TypeScript type definitions. The .d.ts declaration files are bundled with the install.

For more information on using the next versions, visit the feedback-js-api-next repository.

Sample applications can be found at github.com/Esri/jsapi-resources/.

Get started

Install the package into your project:

npm install @arcgis/core

Configure CSS

Set the CSS to the same version as the installed package. You can verify the installed SDK version by running npm list @arcgis/core. If you are working with locally hosted assets skip to the Manage assets locally section.

The first example shows importing CSS for the latest SDK version: 4.28.7:

index.css

@import "https://js.arcgis.com/4.28/@arcgis/core/assets/esri/themes/light/main.css";

Working with assets

The default configuration for local builds is for the SDK to automatically pull assets from a CDN at runtime. There is no need for additional configuration. The assets include styles, images, web workers, wasm and localization files. latest and rc versions of the SDK's assets are hosted on the ArcGIS CDN, while next versions use assets hosted on the jsDelivr CDN.

Manage assets locally

If you need to manage the assets locally, copy them into your project from /node_modules/@arcgis/core/assets, and then set config.assetsPath to ensure requests for assets are resolved correctly. A simple way to accomplish this is to configure an npm script that runs during your build process. For example, use cp on MacOS and Windows PowerShell, or xcopy on Windows, and configure a script in the package.json to copy the folder.

Important: Every time you upgrade the SDK, be sure to recopy the new version of the assets into your project. This ensures the assets and API library stay synchronized.

Here’s a React example:

package.json

{
  "scripts": {
    "start": "cp -R ./node_modules/@arcgis/core/assets ./public/assets && react-scripts start",
    "build": "cp -R ./node_modules/@arcgis/core/assets ./public/assets && react-scripts build"
  }
}

App.js

import esriConfig from "@arcgis/core/config.js";
esriConfig.assetsPath = "./assets";

index.css

@import "@arcgis/core/assets/esri/themes/light/main.css";

For Angular, one example is to copy the asset files by configuring the architect/build/options/assets section of angular.json, for example:

angular.json

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

app.component.ts

import esriConfig from "@arcgis/core/config.js";
esriConfig.assetsPath = "./assets";

app.component.css

Add the following line at the top of the css file:

@import "@arcgis/core/assets/esri/themes/light/main.css";

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

package.json

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

Requirements

Use of the ArcGIS Maps SDK for JavaScript is subject to System Requirements, and the terms described in the product-specific Terms of Use. Learn more about licensing here.

Resources

Issues

Licensing

COPYRIGHT © 2023 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