|
DOC
|
As a possibility for enhancement, it might be good to allow the service as it comes in to display the service name. I see that it pulls in the sublayer information, but not the original service name - it is displaying as "layer1". Additionally, possibly allowing the user to see what services they have added in and easily be able to remove them from the map.
... View more
06-12-2015
02:45 PM
|
0
|
0
|
11532
|
|
DOC
|
So how does this widget differ from LocalLayerWidget and AccessifizrWidget
... View more
06-12-2015
02:23 PM
|
0
|
0
|
11532
|
|
POST
|
I was able to also include a few of the time enabled layers on this web map as well. I did figure out a way that would allow the user to load in more than just the basemap and one layer from the webmap and it involves modifying the widget.js code as follows: Comment out lines 57 through 71 as well as line 75. Specifically, here are the lines I'm referring to: (line 57 through 71) for(var l = this.map.layerIds.length - 1; l>1; l--){ var lyr = this.map.getLayer(this.map.layerIds ); if(lyr){ this.map.removeLayer(lyr); } } var f = this.map.graphicsLayerIds.length; while (f--){ var fl = this.map.getLayer(this.map.graphicsLayerIds ); if(fl.declaredClass === 'esri.layers.FeatureLayer'){ this.map.removeLayer(fl); } } }, (line 75) this._removeAllLayersExceptBasemap(); These modifications also allowed the time slider to work properly with the time enabled layers I had in the webmap. Thought I'd share in case anyone else was running into that same issue.
... View more
06-10-2015
03:00 PM
|
0
|
0
|
1599
|
|
POST
|
Found a workaround to where I reference the webmap initially in the config. I am noticing that anything over one service added to a webmap is not displaying when using this widget.
... View more
06-10-2015
10:43 AM
|
0
|
0
|
1599
|
|
POST
|
So, with that said, is there a format that these services can be entered that would allow it to work?
... View more
06-10-2015
10:28 AM
|
0
|
3
|
1599
|
|
POST
|
I'm trying to use a tiled service using this widget and I'm running into an issue. Just for example, I'm working on loading in the weather radar tiled service from Accuweather and am not able to load the tiled service. Any thoughts as to why this is the case? I can easily add it into an AGOL webmap, but unable to do so using the widget. I've used this document as a reference on format: Adding tile layers to your web map | ArcGIS Blog
... View more
06-10-2015
10:17 AM
|
0
|
5
|
1599
|
|
POST
|
Lefteris, You might want to check out the following: LocalLayerWidget and AccessifizrWidget Additionally, there is the possibility of modifying the code to do definition expressions. Check out this thread for details: Local Layer Widget .
... View more
05-27-2015
03:19 PM
|
1
|
1
|
2875
|
|
DOC
|
That fixed the issue. It was a bit odd that this was in the interface from web appbuilder to add fields (just to get something running, I added all fields).
... View more
05-21-2015
11:52 AM
|
0
|
0
|
6662
|
|
DOC
|
Robert, I'm using the eSearch widget to work in one of the feature layers from our ArcGIS services and it appears that this individual layer is not allowing for any results to be displayed. The other layers found within the same service work properly, but I'm unable to get this individual one to work. Any ideas on what might be causing this issue? Here is the code (with URL removed): { "name": "Towers", "url": "http://xxxxxxxx", "definitionexpression": "", "spatialsearchlayer": false, "zoomScale": 10000, "shareResult": true, "addToAttrib": true, "expressions": { "expression": [ { "alias": "Tower Name Search", "textsearchlabel": "Tower Name Search", "values": { "value": [ { "fieldObj": { "name": "FEATURE_NA", "label": "FEATURE_NA", "shortType": "string", "type": "esriFieldTypeString" }, "valueObj": { "value": "" }, "prompt": "FEATURE_NA contains", "textsearchhint": "(KCEL-FM)", "sqltext": "Upper(FEATURE_NA) LIKE Upper('%[value]%')", "operation": "stringOperatorContains" } ] } } ] }, "titlefield": null, "fields": { "all": false, "field": [ { "name": "FEATURE_NA", "alias": "FEATURE_NA" }, { "name": "FEATURE_CL", "alias": "FEATURE_CL" }, { "name": "STATE_ALPH", "alias": "STATE_ALPH" }, { "name": "COUNTY_NAM", "alias": "COUNTY_NAM" }, { "name": "MAP_NAME\n", "alias": "MAP_NAME\n" }, { "name": "COUNTY_NUM", "alias": "COUNTY_NUM" }, { "name": "ELEV", "alias": "ELEV", "isnumber": true } ] }, "links": { "link": [] }, "showattachments": true, "layersymbolfrom": "server" }
... View more
05-21-2015
11:38 AM
|
0
|
0
|
6662
|
|
POST
|
When adding in the layers using the Local Layer Widget, I'm having an issue trying to get them to work with the Time Slider tool. Is there something that I'm missing that would prevent the time enabled layers added using this widget from not working in the Time Slider? Is there a workaround for this?
... View more
05-08-2015
08:07 AM
|
0
|
1
|
1848
|
|
POST
|
Jeremie, I'm having issues working with this tool in the IE environment. It appears to be working fine when using Chrome, but when trying to export the drawing file, it opens up a separate tab on the browser with the text that should be in the .json file. The specific version of IE I'm using is IE 11. Any thoughts on how to resolve?
... View more
05-06-2015
01:15 PM
|
0
|
2
|
3072
|
|
POST
|
Robert, Are there any plans to make KML/KMZ services a supported layer type?
... View more
05-05-2015
04:19 PM
|
0
|
1
|
1821
|
|
POST
|
Robert, Thanks for the code. That worked. Is it possible to see what it would be for other layer types, such as dynamic?
... View more
04-21-2015
09:03 AM
|
0
|
1
|
2166
|
|
POST
|
I'm having issues trying to figure out how to set up a definition query for the layers that I'm loading into the local layer widget without having to redo the service from the server. Do you have an idea on how this can be done using the local layer widget code?
... View more
04-21-2015
07:37 AM
|
0
|
21
|
11837
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 06-28-2022 03:26 PM | |
| 1 | 06-28-2022 07:19 AM | |
| 1 | 09-27-2021 08:36 AM | |
| 1 | 09-27-2021 08:45 AM | |
| 3 | 09-27-2021 08:39 AM |
| Online Status |
Offline
|
| Date Last Visited |
10-29-2025
07:55 AM
|