|
POST
|
Hi, have you tried using wmsLayer.sublayers? Or would you be able to share your code? I'm not sure if I understand what you are asking. Thanks, Anne
... View more
04-08-2020
04:03 PM
|
0
|
1
|
1236
|
|
POST
|
Yes, they are the same in terms of performance, assuming that your FeatureLayer is created from a service. But it is probably better to just use FeatureLayer.queryFeatures() so that you do not have to import another task.
... View more
04-06-2020
09:08 AM
|
1
|
0
|
1563
|
|
POST
|
Hi, I just wanted to update you that this will be fixed in the 4.15 release of the ArcGIS API for JavaScript (which is coming very soon!) Thanks again for reporting this bug.
... View more
04-03-2020
10:27 AM
|
2
|
1
|
3392
|
|
POST
|
Hi Massimiliano, Instead of using definitionExpression, try using FeatureLayer.queryFeatures(). See this section in the API Reference on Spatial Queries for more information: Spatial Query | ArcGIS API for JavaScript 4.14 Here's a sample that shows querying statistics by geometry: SceneLayerView - query statistics by geometry | ArcGIS API for JavaScript 4.14 Hope this helps! Thanks, Anne
... View more
04-03-2020
09:46 AM
|
1
|
2
|
1563
|
|
POST
|
Hi John - here's a sample that has attachments within the popup: Popup with edit action | ArcGIS API for JavaScript 4.14
... View more
03-27-2020
12:57 PM
|
2
|
1
|
3392
|
|
POST
|
Hi Gianna - I still only see the topo basemap in both the link you sent and in the jsfiddle, and there's errors about the layer not loading in the console: [esri.layers.ImageryLayer] #load() Failed to load layer (title: 'WdlndExp netcdf', id: '17119272bda-layer-0')
name: "request:server"
message: "Failed to fetch" But I think in your function you want to access the first object in the multidimensionalDefinition array, and set the value on that. mosaicRuleClone.multidimensionalDefinition[0].values = [value];
... View more
03-26-2020
04:44 PM
|
0
|
1
|
5064
|
|
POST
|
Hi Gianna - your layer isn't loading correctly for me so I don't know what your data looks like, but I think you would need to create some sort of function that would update the mosaicRule on your ImageryLayer based on the fmaValue. This sample might help you understand: ArcGIS API for JavaScript Sandbox - Image Coordinate System On line 80 - whenever the select box value changes, a function is called that updates the mosaicRule on the ImageryLayer. I think you can implement something similar when the slider value changes in your code.
... View more
03-25-2020
02:30 PM
|
0
|
3
|
5064
|
|
POST
|
Hi Gianna, It looks like you're doing it right in your code, the issue is that the function you are trying to call when the slider thumb value changes ( updateFMA(event.value) ) is undefined. Try this and see if you get the event value to print in the console. slider.on(['thumb-change', 'thumb-drag'], function(event) {
console.log(event.value);
}); Hope this helps!
... View more
03-24-2020
08:33 AM
|
0
|
5
|
5064
|
|
POST
|
Hi Jay, Check out the goToOverride property on the Search widget. This allows you to override the goTo() method invoked when a result is selected. Hope this helps! Thanks, Anne
... View more
03-23-2020
12:33 PM
|
1
|
0
|
2001
|
|
POST
|
Hi Ryan - just wanted to let you know that this will be fixed when 4.15 is released! Thanks again for reporting.
... View more
03-10-2020
04:10 PM
|
2
|
0
|
4186
|
|
POST
|
Hi Dylan, Thanks for taking the time to report this. I was able to reproduce the issue - it seems like a bug. We will investigate the cause of this issue and have in fixed in an upcoming release! Thanks, Anne
... View more
02-26-2020
08:55 AM
|
1
|
1
|
1334
|
|
POST
|
Akbar, I think you might want to look into using the Editor widget. Here's a sample: Edit features with the Editor widget | ArcGIS API for JavaScript 4.14 Also, here's a sample of using the Editor widget with Popups: Popup with edit action | ArcGIS API for JavaScript 4.14 Hopefully this helps! - Anne
... View more
02-24-2020
01:13 PM
|
1
|
1
|
10337
|
|
POST
|
Hi Akbar, Yes, I'd recommend taking a look at the Popup or Feature Widget documentation: Popup | ArcGIS API for JavaScript 4.14 Feature | ArcGIS API for JavaScript 4.14 Here's a couple samples that might be helpful as well: Feature Widget | ArcGIS API for JavaScript 4.14 Feature widget in a side panel | ArcGIS API for JavaScript 4.14 Intro to popups | ArcGIS API for JavaScript 4.14 Intro to PopupTemplate | ArcGIS API for JavaScript 4.14
... View more
02-24-2020
10:15 AM
|
1
|
3
|
10337
|
|
POST
|
Here's a Codepen for how to add a graphic on click: https://codepen.io/annefitz/pen/yLNVogB If you wanted to change it to on double-click, you would do the following: view.on("double-click", function(event){
createGraphic(event.mapPoint.latitude, event.mapPoint.longitude);
}); Let me know if you have any questions!
... View more
02-21-2020
04:22 PM
|
2
|
5
|
10337
|
|
POST
|
Hi Ryan, Thanks for reporting this. I was able to reproduce the issue in 4.14. We will investigate the cause of this bug and fix it. Thanks again, Anne
... View more
02-20-2020
09:08 AM
|
0
|
0
|
4186
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 3 weeks ago | |
| 1 | 4 weeks ago | |
| 1 | 03-04-2026 08:01 AM | |
| 2 | 03-03-2026 05:23 AM | |
| 2 | 03-03-2026 05:53 AM |
| Online Status |
Offline
|
| Date Last Visited |
2 weeks ago
|