POST
|
I am having a problem looping through the features. I saw on another qustion that i should use the LayerView but its not defined can you help me get this to the popup https://codepen.io/segev-salman/pen/gNpYOQ
... View more
06-13-2019
01:53 AM
|
0
|
4
|
1540
|
POST
|
but is this the right way to count intersecting features?
... View more
06-12-2019
08:27 AM
|
0
|
1
|
1540
|
POST
|
lets say i have a polygon layer and a point layer what is the best way to return the number of points that intersect with each polygon feature? the executeForCount query returns the number of features in the layer. and the intersect returns a new geometry. is the only way to do that is intersecting and then counting the points on every polygon feature? is there something like aggregate-points for the api?
... View more
06-12-2019
07:52 AM
|
0
|
8
|
1793
|
POST
|
thank you this is it! Just to make sure, the original example didn't have a template in the code, does that mean that the service comes with a built in template? or am I missing something.
... View more
05-31-2019
10:16 AM
|
0
|
1
|
707
|
POST
|
wokring off of the Feature Widget sample. I was trying to do the same thing with a diffrent layer, Polygon or otherwise. the code dosent work when any other layer is used and I am not sure what is the diffreance between them. code with a diffrent layer: https://codepen.io/segev-salman/pen/JqmrWw?editors=1000 code with original layer: https://codepen.io/segev-salman/pen/GawqoN?&editable=true&editors=100 The widget responds to the mouse movement and hit test but the popup template doesn't update I am not sure where to add the template and why the original code doesn't require one. does it come with the layer itself?
... View more
05-30-2019
02:29 AM
|
0
|
3
|
822
|
POST
|
Robert, this is great. is it better to create a new FL than applyedits and change the renderer of an exsisting one? why do you specify objectIdField: "ObjectId", is it needed when you add a featureSet to a layer like that? can you show me a correct syntax to applyedits.updateFeatures on this code?
... View more
05-22-2019
12:03 PM
|
0
|
2
|
871
|
POST
|
Robert, You used the " class="esri-widget"" for the panel. Does that mean Its possible to use the Expand function on it? I am using this as an example: https://developers.arcgis.com/javascript/latest/sample-code/widgets-expand/index.html but Im not sure how to declare the panel or if its possible at all.
... View more
05-22-2019
11:34 AM
|
0
|
1
|
739
|
POST
|
Im having a problem displaying a query. i tried it both on a graphic layer and a feature layer the code is the same for both except the layer is different type and the apply is accordingly different feature layer code: https://codepen.io/segev-salman/pen/MdrBGq?editors=1000 graphic layer code: https://codepen.io/segev-salman/pen/xNpzKr on change a query happens and displayed with a different renderer.
... View more
05-22-2019
11:20 AM
|
0
|
4
|
1016
|
POST
|
Robert, I might have badly communicated so this is what i actually did , you say I am using a WAB widget and that it could only be to an WAB app and thats what i did. so this is my widget file in the WAB this is my WAB here is my widget on the WAB i can see and add it here is the problem i think it doesn't work because of my code and i am not sure how to display all those files so i made the code pen i am not expecting the codepen to work If i am wrong about this sorry i wasted so much of your time I am trying.
... View more
05-21-2019
08:53 AM
|
0
|
1
|
991
|
POST
|
OK so I found this for the js vanilla api: https://developers.arcgis.com/javascript/latest/guide/custom-widget/index.html#development-requirements so just to be sure, where can i add my WAB widget to? again sorry for not understanding I built the app with the WAB so I assumed that I can add it.
... View more
05-21-2019
08:01 AM
|
0
|
1
|
991
|
POST
|
Robert. sorry for being dense, but is this not vanilla js? https://developers.arcgis.com/web-appbuilder/sample-code/create-custom-in-panel-widget.htm
... View more
05-21-2019
07:20 AM
|
0
|
3
|
991
|
POST
|
Robert, I am not sure if you understand, I am not trying to use it inside a vanilla JS i just used the codepen to display my code. I downloaded the app and following the api guide to use a costume widget. all the files in here are copied from a new simple widget folder that i added to my "arcgis-web-appbuilder- 2.12\WebAppBuilderForArcGIS\client\stemapp\widgets" folder the widget is appearing in the web app builder when I add a widget but when i open it it doesn't load. if you did understand and I am wrong could you please direct me to what am i missing?
... View more
05-21-2019
06:57 AM
|
0
|
5
|
991
|
POST
|
Robert, this is exactly what i wanted to do, but I still want to know about the fromJSON or a different solution to handle multiple layers with different symbology. lets say i have a select with three point layers so i could make a heatmap from each individually. what would you do if you'd want the layers to go back to their original symbology. i know you can just make a new FeatureLayer and add it but what if I gave the user the ability to query the layer and dont want to lose that info.
... View more
05-21-2019
06:45 AM
|
0
|
4
|
739
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:24 AM
|