|
POST
|
Hmm. Then why does this esri sample (referencing 4.7) https://developers.arcgis.com/javascript/latest/sample-code/sandbox/index.html?sample=featurelayerview-query work the way I was expecting? That sample seems to be watching the FeatureLayerView's updating property and it seems to fire when panning / zooming around the map. Thanks for responding.
... View more
06-21-2018
03:32 PM
|
0
|
2
|
2592
|
|
POST
|
In the esri js version 4.7, the feature layerview's watch method doesn't seem to be working as expected. This worked fine in the 4.6 version. Consider the following example: Simple LayerView Example In this example, I am simply adding a feature layer and trying to watch the updating property. If you check the console logs and zoom in / change the extent, the console log never gets called. There is different behavior if you change the version of the js api referenced to 4.6. It seems to be a fairly significant bug to me. layerview
... View more
06-20-2018
09:31 AM
|
0
|
6
|
3535
|
|
POST
|
This is only available in the 3.x version of the API. The newer 4.x version doesn't have this property.
... View more
05-07-2018
02:55 PM
|
0
|
0
|
4902
|
|
POST
|
I have experienced the same issue in ArcServer 10.51. The only workaround that worked for me when using the 4.x api was to enable feature access in the manager under Capabilities And then to reference the rest endpoint at "FeatureServer" instead of "MapServer" For Example: https://domain/arcgis/rest/services/maps/test/FeatureServer
... View more
05-07-2018
02:52 PM
|
0
|
0
|
4902
|
|
POST
|
Does anyone have any ideas? I still haven't figured it out. Seems like it should be straightforward.
... View more
03-28-2018
09:00 AM
|
0
|
1
|
1835
|
|
POST
|
I am trying to simply highlight a graphic from a feature layer using the highlight method on the feature layer view (Highlight). I changed the basic feature layer example by adding this section: view.whenLayerView(featureLayer).then(function (lyrView) { lyrView.highlight(1148); }); Here is a live example: Live Example I did notice this caveat in the documentation, but I am setting the webgl property in the dojo config: Known Limitations In 2D MapViews this method is only supported for FeatureLayers that have opted in to WebGL rendering. I'm not sure if there is something I'm doing wrong, or if it's a bug in the js sdk. Any help would be appreciated.
... View more
03-19-2018
01:35 PM
|
0
|
4
|
2553
|
|
POST
|
And are there any possible workarounds to make something similar to this work?
... View more
03-16-2018
11:02 AM
|
0
|
1
|
1833
|
|
POST
|
Thank you for your reply. Do you know if this feature will be supported in a future release? If so, when?
... View more
03-12-2018
08:31 AM
|
0
|
0
|
1833
|
|
POST
|
When I apply an arcade expression to the value expression property of my unique value renderer, it doesn't seem to work as expected. Here is a jsbin example using a modifyed sample that esri provides: JS Bin - Collaborative JavaScript Debugging Here is the line in question: valueExpression: "When($feature.type == 'Gravel', 'test')", I would expect this to filter the layer down and only show 7 features, just like when the filter is applied in the rest endpoint. But instead, all of the features in the map adopt the uvr symbol:
... View more
03-09-2018
10:37 AM
|
0
|
4
|
2215
|
|
POST
|
Ok, this makes sense. I have registered my sde and I am using the Workspace ID that I created. Now how can I find the dataSourceName property? I would assume it would just be the name of the table on our sql server. But this doesn't seem to be working for me. Do I need to add anything? Maybe the schema (dbo.tableName) or something? Thanks again for all your help.
... View more
03-05-2018
12:45 PM
|
0
|
1
|
2216
|
|
POST
|
I have a feature layer of points whose only attribute is an ID that matches up to a table of data. How can I perform a "join" on the client side using the esri javascript api 4.x version so that the attributes from the corresponding table row exist in the feature layer and I can set definition expressions and use the attributes in popups.
... View more
03-05-2018
09:22 AM
|
0
|
6
|
2964
|
|
POST
|
You are referencing something unrelated. There is a hitTest method in both MapViews and SceneViews. The sample should work in 2d and 3d. MapView | API Reference | ArcGIS API for JavaScript 4.6
... View more
12-18-2017
07:47 AM
|
0
|
1
|
719
|
|
POST
|
Just to confirm. This is resolved when using the 4.6 version of the api.
... View more
12-14-2017
11:05 AM
|
0
|
3
|
719
|
|
POST
|
This does work as a temporary work around. Thanks Thomas.
... View more
10-03-2017
11:45 AM
|
0
|
3
|
1940
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 07-31-2019 09:53 AM | |
| 1 | 10-11-2019 10:41 AM | |
| 1 | 10-11-2019 10:42 AM | |
| 1 | 07-30-2018 09:34 AM | |
| 1 | 05-29-2019 09:03 AM |
| Online Status |
Offline
|
| Date Last Visited |
04-29-2022
11:52 AM
|