|
POST
|
Looks like you are adding the features. You want to add the OBJECTID response.features[iii].attributes.OBJECTID You can see this sample here. https://developers.arcgis.com/javascript/latest/sample-code/sandbox/?sample=widgets-featuretable-popup-interaction
... View more
02-26-2024
09:01 AM
|
1
|
0
|
860
|
|
POST
|
Should it be changing that little red dot under New Haven? Tough to tell, it could be a path issue. You might want to look at the network tab and see if there are any errors. You might need to normalize the url to point to the real path with location.href or maybe import.meta.url, depending on your tooling.
... View more
02-22-2024
10:35 AM
|
0
|
1
|
2108
|
|
POST
|
When using graphics in a FeatureLayer, you can't apply symbology to the individual graphics, you need to use a renderer. More info in the Visualization guide. https://developers.arcgis.com/javascript/latest/visualization/location-styles/#points
... View more
02-22-2024
09:47 AM
|
1
|
3
|
2117
|
|
POST
|
Do you have a basic report project on GitHub to look at? Importing the css file shouldn't invoke the sass files, so it suggests something else in your build is referencing them.
... View more
02-22-2024
06:57 AM
|
0
|
3
|
1994
|
|
POST
|
The Feature widget only supports a single graphic, if you want multiple graphics, you can use the Features widget, however I'm not sure about the UX of having multiple graphics populate it on hover, as when you navigate to the Features UI, it will probably change the graphics before your mouse gets there. pointer-move is the right event you are looking for, and that side panel example is on the right track, just wrong widget.
... View more
02-15-2024
07:07 AM
|
1
|
0
|
903
|
|
POST
|
The Maps SDK typings don't support generics, so you can't pass your custom strings to override the types. I'm not sure of an elegant way to do this, but this works. type MyPrintTemplates = __esri.PrintTemplate["layout"] & "My_Custom_Template";
// you don't really need this line, but it shows that your type will now work with the PrintTemplate layout type.
const myTemplate: __esri.PrintTemplate["layout"] = "My_Custom_Template" as MyPrintTemplates; I was thinking how satisfies might be used, but I don't think you can get around a cast here.
... View more
02-09-2024
11:52 AM
|
1
|
0
|
1087
|
|
POST
|
Try updating it from the :root of your css :root {
--calcite-ui-focus-color: red;
} That should do it, but it's global for everywhere that token is used, so keep that in mind.
... View more
02-08-2024
08:51 AM
|
1
|
0
|
1270
|
|
POST
|
This probably means there was not a result for that address, so you probably need to add some checks that you have a valid result.
... View more
01-19-2024
12:15 PM
|
0
|
0
|
2443
|
|
POST
|
If you adjust the logic of how you are doing things a bit, you can create an array of promises and wait for them all to complete. It does require another loop to do your buffer, but this could help you maintain the order you are looking for. const geocodePromises = params.map(
(param) => locator.addressToLocations(...)
);
Promise.all(geocodePromises).then((results) => {
// do something with results
}); Note, you can use Promise.all or Promise.allSettled. The result signatures are different, but depends on your needs.
... View more
01-18-2024
01:56 PM
|
2
|
2
|
2550
|
|
POST
|
FeatureServer services don't have a /find endpoint. https://developers.arcgis.com/rest/services-reference/enterprise/feature-service.htm find works for MapServer endpoints
... View more
01-18-2024
08:45 AM
|
1
|
0
|
960
|
|
POST
|
LayerView queries are all clientside, so if the data is not currently in the view, it's not available. If you want to guarantee you can find results in all your data (in/outside the view), you need to query the layer directly.
... View more
12-13-2023
06:42 AM
|
1
|
0
|
794
|
|
POST
|
This can be accomplished via CustomContent for the PopupTemplate. The ImageMediaInfo is probably the cleanest way to do it for images. Here is a blog post on pulling images from a third-party API that might help too.
... View more
12-11-2023
07:18 AM
|
0
|
0
|
2955
|
|
POST
|
f you could provide a repro sample showing the behavior in codepen, github, or stackblitz, we could better debug.
... View more
12-06-2023
07:11 AM
|
0
|
5
|
3595
|
|
POST
|
The takeScreenshot method only includes map elements, not widgets or other DOM elements. https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#takeScreenshot Some people have reported using html2canvas to capture DOM elements, but I haven't tried it with the Maps SDK.
... View more
12-04-2023
07:01 AM
|
0
|
0
|
1664
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 2 weeks ago | |
| 2 | 2 weeks ago | |
| 1 | 02-27-2026 06:31 AM | |
| 1 | 01-13-2026 02:15 PM | |
| 1 | 12-31-2025 09:05 AM |
| Online Status |
Offline
|
| Date Last Visited |
Monday
|