|
POST
|
If you open the developer tools, can you see the detailed error? It will probably give you more info about what the problem is.
... View more
06-30-2021
08:19 AM
|
0
|
0
|
1492
|
|
POST
|
You're right, it's not cacheable, but the bounding box defines how to clip the image. You can't get an image without it.
... View more
06-29-2021
03:54 PM
|
0
|
0
|
3470
|
|
POST
|
The exportImage endpoint is how the image is queried to load in the map. https://developers.arcgis.com/rest/services-reference/enterprise/export-image.htm There's no way to avoid it while using an ImageService layer, it's how the image is displayed
... View more
06-29-2021
08:47 AM
|
1
|
0
|
3475
|
|
POST
|
ObjectIds are determined by the FeatureLayer (client-side) or Feature Service. You can't override them. If it's an existing feature, you can use the updateFeatures. If you need it as a reference, from another source, I've seen people add it as a refObjectId field or similar so they can refer back to where the feature originally came from.
... View more
06-28-2021
08:31 AM
|
1
|
0
|
2202
|
|
POST
|
Do you have a snippet showing what layer promises is doing? Are they layer.loads() or queries? If you add a .catch() what is the error message? You wouldn't happen to be using Angular are you?
... View more
06-28-2021
08:28 AM
|
0
|
0
|
1891
|
|
POST
|
Could you try this sample using the next version of the 4.20 release? There was a fix put in for certain android devices that looks like it might fix this. 4.20 should be released fairly soon. https://codepen.io/odoe/pen/ZEKEBPw
... View more
06-28-2021
08:20 AM
|
0
|
1
|
2847
|
|
POST
|
Could you provide some more details on Chrome/Android version? I'm on Chrome 91/Android 11 and those samples are working.
... View more
06-25-2021
08:51 AM
|
0
|
1
|
2883
|
|
POST
|
Change the query used for queryFeatures to only fetch the features you are interested in. https://developers.arcgis.com/javascript/latest/api-reference/esri-tasks-support-Query.html
... View more
06-23-2021
10:01 AM
|
1
|
0
|
2145
|
|
POST
|
That is correct. In some cases you need to provide a "type", like for renderers, symbols, geometry, etc. Those cases should be in the doc .
... View more
06-22-2021
03:50 PM
|
0
|
0
|
1835
|
|
POST
|
Is there a particular way you're trying to create the map that doesn't work? I tried this basic example and the map works. require(["esri/views/MapView"], (MapView) => {
const view = new MapView({
container: "viewDiv",
map: {
basemap: "topo-vector"
},
zoom: 4,
center: [15, 65]
});
});
... View more
06-22-2021
03:08 PM
|
0
|
2
|
1883
|
|
POST
|
I did something like in this blog post. Here is a codepen. It's something like this. function copyLayer(lyr, title) {
const tempLayer = new FeatureLayer({
title,
fields: lyr.fields.map(x => x.clone()),
geometryType: lyr.geometryType,
renderer: lyr.renderer.clone(),
spatialReference: lyr.spatialReference.clone(),
source: [],
visible: false
});
return tempLayer;
}
// later, might need a where: 1=1 query
const { features } = await soureLayer.queryFeatures();
const result = await localLayer.applyEdits({
addFeatures: features
})
.catch(err => console.log(error));
localLayer.refresh();
... View more
06-22-2021
10:07 AM
|
0
|
2
|
2165
|
|
POST
|
Tested this out. There's a method on the DirectionsViewModel to clear results. https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Directions-DirectionsViewModel.html#clearResults You can use it and it will clear the results in the widget. Here is a sample. https://codepen.io/odoe/pen/NWpezwb?editors=1000
... View more
06-15-2021
09:10 AM
|
1
|
0
|
1291
|
|
POST
|
The popup by design is a single popup at a time. Like Blake said above, the popup will let you paginate multiple features. But if you want to display more than one popup content, you can use the Feature widget and display them somewhere else on the page like this sample that displays multiple Feature widgets. https://developers.arcgis.com/javascript/latest/sample-code/widgets-feature-multiplelayers/
... View more
06-14-2021
08:34 AM
|
1
|
2
|
4860
|
|
POST
|
If you had the @types/arcgis-js-api installed to use with esri-loader, uninstall them as the ESM build comes with types already. Could be the two are conflicting.
... View more
06-14-2021
08:30 AM
|
1
|
1
|
3113
|
|
POST
|
I'm not familiar with the error, but to rule it out, is your arcgis server accessible externally? Maybe arcgis.com can't see it.
... View more
06-10-2021
09:21 AM
|
0
|
0
|
4558
|
| Title | Kudos | Posted |
|---|---|---|
| 2 | 2 weeks ago | |
| 1 | 07-17-2026 10:17 AM | |
| 2 | a month ago | |
| 2 | 05-19-2026 02:12 PM | |
| 1 | 04-24-2026 11:01 AM |
| Online Status |
Offline
|
| Date Last Visited |
Wednesday
|