Questions tagged [arcgis-js-api]
The ArcGIS API for JavaScript is a lightweight way to embed maps and tasks in web applications. You can get these maps from ArcGIS Online, your own ArcGIS Server or others' servers.
arcgis-js-api
971
questions
0
votes
1
answer
36
views
Using Dojo with ArcGIS Map SDK for JavaScript 4.29
Error Screenshot Here, I want to use dojo in ArcGIS Api for JS , but it give me script error when i import dojo through cdn link. Added SS of the code and Error.
I am using the ArcGIS Map SDK for ...
0
votes
1
answer
23
views
Load specific layer of GeoServer to A WMSLayer using Esri JSAPI 4
I am trying to load a geoserver wms layer to a WMSLayer using Esri JS API 4.x, thought the code below loads ok using Esri JS API 3.x
require(["esri/layers/WMSLayer","esri/layers/...
0
votes
1
answer
43
views
ESRI JS : To spiderfy a cluster
I am using ESRI JS API (4.23), and I can't find a way to spiderfy my clusters ( similar to what we can do with a Cluster using leaflet), has anyone already tried to do that ?
Here is an exaplme of ...
0
votes
0
answers
24
views
ArcGIS Enterprise & ArcGIS JS API Authentication
I have an ArcGIS Enterprise instance configured on my system. And a custom web application built using React.
My main objective is to be able to render a map that is already built using ArcGIS ...
3
votes
0
answers
25
views
Unable to update ArcGIS JavaScript SDK feature layer renderer dynamically
Following this ArcGIS JavaScript SDK sample, I'm able to visualize feature layer data using a continuous color ramp. However, I'm unable to update the renderer's color ramp value dynamically.
I would ...
1
vote
1
answer
185
views
How to Update a Feature Layer using ArcGIS rest API in python (post request)
why this is not working ArcGIS Rest API, what am i doing wrong?
im trying to update a feature layer inside of a MapServer, i have 3 feature layers inside, avaliable at the id 0 1 and 3, im trying to ...
1
vote
1
answer
64
views
Widget Not Adding Layers When Configured via JSON Config in React/Esri App
I am using ArcGIS Experience Builder.
I'm working on a React component that toggles visibility of map layers in an Esri map. My widget works perfectly when I hardcode the layers configuration, but ...
0
votes
1
answer
45
views
adding a layer on top of a WMTS BaseMap via user input (codesandbox example included)
I am trying to add a street level layer on top of my base map layer with arcgis. However, I can't seem to get my second layer of street names to render by toggling an input checkbox.
I was basing my ...
0
votes
0
answers
21
views
Popup.js:6 Uncaught (in promise) TypeError: d.ActionsCollection is not a constructor
The popup is not opening when I click on the point in the map and it leaves an error in the console, "Popup.js:6 Uncaught (in promise) TypeError: d.ActionsCollection is not a constructor"
...
0
votes
0
answers
18
views
how to use arcgis locate widget with electron?
I'm new with ArcGIS Maps SDK for JavaScript.
I'm integrating the map with the locate widget button, following the instruction written in the official tutorial: https://developers.arcgis.com/javascript/...
0
votes
0
answers
178
views
"[esri.WebMap] #load() Failed to load web map - ArcGIS javascript API"
I am using a webmap for one of my website. The problem is, sometimes the map is loading fne but sometimes the map failes to load leaving a console error
[esri.WebMap] #load() Failed to load web map
...
1
vote
1
answer
83
views
ArcGIS Maps SDK for JavaScript Popups
I have ArcGIS for javascript 4.24 and the following code where i want to display a popup if the user clicks outside of a polygon.
view.on("click", function (evt) {
view.hitTest(...
0
votes
0
answers
46
views
ArcGis map on Android not displaying after implementing Node server
I'm developing an Android ArcGIS map application where I've successfully added an API key, initialized the map on a MapView, and included the necessary dependencies for Esri by adding the Maven URL. ...
1
vote
0
answers
24
views
EPSG:4326 layer on top of a EPSG:27700 base layer
I have a base layer in arcgis for javascript in spatial reference EPSG:27700. I want to overlay a boundary layer which is in the format of a geojson file.
I initially generated the geojson with a crs ...
0
votes
1
answer
157
views
ArcGIS Maps SDK for JavaScript 4.x - Passing token for secured FeatureLayer resource
I am migrating a 3.x Enterprise ArcGIS Server Javascript application to 4.x. The application adds secured FeatureLayer layers to the map using a service token that was generated by a separate process.
...