|
POST
|
Curious if it's possible to adjust the color of the point cluster symbol based on the number of features it contains. Certainly size is important (and the default), but I have found that users are also more easily drawn to colors than size (esp when the screen is covered with many different size circles). The examples show how to adjust the colors based on average attribute values using visual variables, but unclear if this is possible just referencing the cluster count.
... View more
04-27-2021
06:39 AM
|
0
|
4
|
4109
|
|
POST
|
Any resolution on this - I am getting this error from an endpoint I'm querying only a couple times an hour. Unclear who else in the agency might be querying the same endpoint though. What confused me is the number in parentheses. It doesn't seem to increment by one every subsequent request. It just seems to fluctuate randomly between 4800s and low 5000s.
... View more
04-26-2021
12:35 PM
|
0
|
2
|
8675
|
|
POST
|
we're having a similar issue with the tool is not valid with arcmap and python 2.x toolboxes publishing to Enterprise 10.8.1. Also worked fine in 10.6.1....
... View more
04-19-2021
08:55 AM
|
0
|
1
|
5422
|
|
POST
|
we're getting the same issue. Very strange - curious if you end up on any resolutions....
... View more
04-19-2021
08:33 AM
|
0
|
0
|
5425
|
|
POST
|
In my JS 4.x application I am using IdentityManager and OAuth (via appid/secret) to have users login to my Portal (10.8.1). There are plenty of examples showing how to do this. What I’m having trouble figuring out is how to then determine if a user has access to the resource (a Portal layer) that my site wants to load. If they DO have access, I then want to load the layer onto the map, but if they don’t, then the site might do something else (like load a different layer, or change a div to say they don’t have access). So far all I’ve figured out how to do is just login (Authentication), not check if they have access to what I want them to (authorization). I tried changing the sharing of the actual registered app item in Portal, but all Portal users can still successfully login using that app’s registered info, not just the ones I shared it with. Anyone have suggestions for a working pattern here?
... View more
04-15-2021
05:53 PM
|
0
|
1
|
2642
|
|
POST
|
Just wanted to loop back with you on this and thank you again. I forgot you can add non tracked/non-reactive objects to a component instance, so that seemed to do the trick to get me up and running. Unfortunately, we use Vuex a lot too, particularly to store the MapView to pass to different components & widgets across the app. I just tried implementing this (vuex storing the MapVuew) for a feature table, and while the table renderers, the synchronized behavior with the actual map unfortunately does not work (ie, editing, center on click, highlight, etc). After digging into the Vue reactivity documentation, I found markRaw and toRaw, which can be used on Esri’s object to prevent them from being wrapped in a Proxy or strip away the proxy, respectively. I think it’s exactly what you’d need to use Esri’s JS objects in Vuex. Thanks!
... View more
04-13-2021
12:54 PM
|
0
|
0
|
4887
|
|
POST
|
Turns out symbolUtils is there to fix this exact problem. Who knew (I certainly didn’t when I asked this question)?
... View more
04-08-2021
04:30 PM
|
0
|
0
|
1588
|
|
POST
|
I am trying to implement a popup action that allows a user to "pin" a selected feature to the map by adding it to the view's graphics layer (so it would remain even if the source layer is removed or turned off). I did not think this would be that hard but I have not been able to get the selected feature symbol (for cloning the graphic then adding to the graphics layer). I have tried it two different ways below - One is by using the popup trigger action event, and getting the selected feature. The second is using the layer's feature layer view and querying features within the extent. Both get the graphics I need, except the symbol is missing - just the attributes and geometry. Does anyone know what I'm doing wrong? Doesn't anyone have any other ideas of how to implement this feature? mapView.popup.on("trigger-action", ({action, target}) => {
const selectedFeature = target.selectedFeature.clone();
console.log(selectedFeature.symbol) //this is null in my app
});
featureLayerView.queryFeatures(
{geometry: mapView.extent,
returnGeometry: true})
.then(featureSet=>{
console.log(featureSet); //this has all features in the current extent, but each graphic only contains geometry and attributes, not the symbol
});
... View more
04-08-2021
10:54 AM
|
0
|
1
|
1649
|
|
POST
|
I am adding a couple Wayback (historical imagery) tiled map services and metadata layers to an 4.x app. The Wayback app has some great popups that show the collection date, source, and resolution of a point clicked on the map. For UI consistency (and other workflow) reasons, I'd rather not just add the Portal item to my app, which would include the popups. I'd rather just add the WMTS and associated metadata layer, and wire up the click event and MapService query myself. However taking for example one of the metadata MapServer endpoints (https://metadata.maptiles.arcgis.com/arcgis/rest/services/World_Imagery_Metadata_2014_r03/MapServer), I do not know how to determine which sublayer to query. I'm unclear how to match up my current view with the correct resolution sublayer for the metadata. Keep in mind I also have the associated WTMS added (my basemap has the metadata as the reference layer, and the WTMS layer as base layer. Does anyone have any suggestions?
... View more
03-31-2021
02:09 PM
|
0
|
0
|
1335
|
|
POST
|
I think I raised a case with Esri and they logged it as a bug: https://support.esri.com/en/bugs/nimbus/QlVHLTAwMDEzNjI2MA== My workaround was using feature classes and getting the geometry to 0,0 for every record. Was only using the data for dashboard widgets .
... View more
03-26-2021
02:09 PM
|
0
|
0
|
2709
|
|
POST
|
@Anonymous User - I've been taking a look at the code and was curious if you think your code could be adjusted to work with esri-loader? I'm having a little trouble getting it to work, since the setup function needs to include onMounted (due to the asych nature of esri-loader's loadModules), but the return portion of setup (outside the onMounted callback) would only be able to return reactive objects (which cannot be Esri objects as we've determined). The reason I ask is because vue-cli with @arcgis/core build time leaves something to be desired. In other words, would https://github.com/crackernutter/vuejs3-arcgisapi-test/blob/main/src/App.vue be able to use esri-loader, or does it have to use the ES6 modules of Esri's API?
... View more
03-19-2021
11:21 AM
|
0
|
0
|
4954
|
|
POST
|
I'm curious how I would create a unique value renderer with unique values stored in a separate table. Lets say I have a simple feature layer with states, and then separately a feature table with unique values per states ie: Wisconsin: Value1, Rhode Island: Value 2, West Virginia: Value4, etc. etc. I want to be able to draw the feature layer based on the attributes in my table, but don't want to perform a join every time, since the data in the table might change frequently and I don't want to eat up credits creating a lot of joins. I have a feeling this would be possible in Arcade I'm just unsure how.
... View more
03-19-2021
07:56 AM
|
0
|
0
|
750
|
|
POST
|
I have the same concerns with Vuex too....and agree that their modifying Accessor to support Proxy would be a tall order.
... View more
03-17-2021
11:20 AM
|
0
|
1
|
6486
|
|
POST
|
Thank you Caleb! This is incredibly useful - I will dig into the code. I was afraid I'd have to go the "change pattern" route by using Esri's baked in watchUtils. I'm concerned that as the application scales, using two different reactivity programming patterns (one for Esri JS API objects, one for the rest) might prove unwieldy and confusing. Mostly as I look to refactor a sizable Vue 2.x application that relied heavily on reactivity of various Esri JS objects (Vue 2.x's reactivity did work with Esri's JA API), I'm just grappling with having to swap out Vue's reactivity with Esri's. Not impossible, but also not fun. Various components that watch for a layer's visibility or opacity change, when graphics are added to a graphicsLayer, when a search source changes in a search widget, passing objects between components as props are all pieces that might need to be refactored for this new pattern. But who knows - maybe it'll be simpler than I think. I was just hoping that Esri would fix it, but totally understand that it quite clashes with the way they've built their API.
... View more
03-17-2021
09:20 AM
|
0
|
4
|
11531
|
|
POST
|
To further complicated things, I am also able to add Hosted Feature Layers (i.e. those in DataStore) stored on our Enterprise, as well as Map Service Layers and Web Maps stored in Enterprise. However, FeatureLayers still won't add. That is, I can add a MapServiceLayer directly, but am unable to add one of its underlying FeatureLayers.
... View more
02-19-2021
06:15 AM
|
0
|
0
|
1305
|
| Title | Kudos | Posted |
|---|---|---|
| 2 | 02-23-2026 11:00 AM | |
| 1 | 07-08-2025 11:33 AM | |
| 1 | 11-07-2023 08:32 AM | |
| 2 | 10-01-2025 06:52 AM | |
| 5 | 09-08-2025 07:31 AM |
| Online Status |
Offline
|
| Date Last Visited |
06-04-2026
01:35 PM
|