|
POST
|
Robert, The map service has sublayers (at least one). if I use the same code and assign only one layer to the layers array (the same layer that has issue being expanded), the layer listed in the layerlist is able to be expanded. In the screenshot before, Zoning Info is not expandable when added with other layers the same time. When manually add one value to the "Layer" array. It is expandable.Thanks
... View more
06-12-2018
12:58 PM
|
0
|
10
|
2604
|
|
POST
|
Hi Robert, I don't see any error message in the web debug window's console section. I have noticed that in LayerListView.js file, only one layer's sublayer goes to line 100 to place subnode.
... View more
06-12-2018
12:40 PM
|
0
|
12
|
2604
|
|
POST
|
Hello, I have a customized widget which load several layers: array.forEach(this.config.layers, function (layer) { this.addLayerToMap(layer); }, this); When I open the LayerList widget (the build-in widget from web appbuilder 2.8 - Layer List widget—Web AppBuilder for ArcGIS | ArcGIS ), only one layer can be expanded. With the same code, if the "layers" array only has one layer, this layer is expandable in the LayerList widget. Does anybody else has the same issue? Can LayerList be customized to work when multiple layers added at a time? Thanks so much Helen
... View more
06-12-2018
11:44 AM
|
0
|
15
|
4409
|
|
POST
|
Sorry, Robert. I may have given you confused information. The reason we want identify all features is - our layers are added dynamically so we can't per-configure almost 100 layers. The request is when all layers are identified, identified results are loaded in the identify information panel(current design is good with us for this part). Only the feature is highlighted when that feature's identify result is selected. That is to say, when taxparcel is selected in the identified list panel, all graphices are cleared except the one for the identified taxparcel feature. Same to zoning - When zoning feature is selected in the identified result panel, only the identified zoning feature is highlighted. In that way, the overlapping feature will not give users misleading vision in the map. Do you have any direction that where i can start working on the customization? Thanks Helen
... View more
06-11-2018
09:47 AM
|
0
|
2
|
2484
|
|
POST
|
Hi Robert, Users don't want the pop up window shows up, so I comment out the following section in the widget.js file. I am checking to see if the code can be customized so that only the tax parcel feature is highlighted when the taxparcel is selected in the identified panel -no other overlapping features are highlighted. Thanks Helen
... View more
06-11-2018
08:41 AM
|
0
|
4
|
2484
|
|
POST
|
Hello Robert, I am not sure if this is the right place to ask you questions. I would like to ask you the question directly. I really like your identify widget (Identify Widget Version 2.7 - 02/23/2018 )..I have a question in using the widget. In the configuration, i use cyan color for polygon boundary and hollow for polygon fill. When identify a feature, I choose all layers to be identified, I highlight the tax parcel in the identify result panel, the map is zoomed to my parcel with parcel is highlighted. Since I select identify all layers, the zoning polygon is highlighted. The highlighted zoning polygon and taxparcel polygon is mixed together, which is kind of misleading (see attached screen shot. What kind of customization can I do to highlight only the taxparcel feature when taxparcel is selected in the identify window? I would like to have "All Layers" identified. I am about the do the customization, since it is developed by you, can you give me a direction? Thanks so much. Helen
... View more
06-11-2018
07:10 AM
|
0
|
12
|
3515
|
|
POST
|
Thanks Robert. Do you why the checkbox is not checked in the widget even though I specify in the code as - cb.set("checked", true)? I am able to see the checkbox's checked property to be true.
... View more
06-08-2018
12:45 PM
|
0
|
2
|
8071
|
|
POST
|
I have a widget that is adapted from the Addlayer widget (AddLayer Widget by softwhere). The widget has two items - the top is a dijit.form.Select and bottom is a listview(see attached picture). When a box is checked, a layer is loaded to a map. What I would like to implement is - once a new item is selected from the select dropdown list, certain layers in the layer list are checked, which triggers the onLayerSelected event, so that the map services associated with those layers are loaded to the map. I write an onSelectChange event, which get the related checkbox, and set its checked to be true. Codes are running fine, but the box is not checked and the onLayerSelected is not triggered. Do I miss anything? Thanks so much. Helen widget,html- <div> <!--<div class="help-text">Check the additional layers to add to the map</div>--> <div> <input type="select" data-dojo-type="dijit/form/Select" data-dojo-props="name:'theme',style:'width:100%;'" data-dojo-attach-point="themeDijit" data-dojo-attach-event="Change:onSelectChange" /> </div> <div class="layer-list-body" data-dojo-attach-point="layerListBody"> <!-- layer list table added here--> </div> <hr /> <div data-dojo-attach-point="message"></div> </div> widget.js - onSelectChange: function (newValue) { var fields = newValue.split(','); array.forEach(this.config.layers, function (layer) { if (layer.name === "Fire") { var cb = registry.byId("Fire"); //checkbozx is found cb.set("checked", true); //checked property is set. But the check box is not checked in the widget //and onLayerSelected is not fired? } }, this); }, onLayerSelected: function (evt) { var layer = evt.layer; this.addLayerToMap(layer); },
... View more
06-08-2018
12:01 PM
|
0
|
4
|
10721
|
|
POST
|
Thanks Robert for quick reply. Code doesn't work because the layer is of type basemaplayer which doesn't have the setMinScale methods. So I have tried to add a few line of code to the initBasemaps function before the line "this.basemapGallery.startup();" and it works. Thanks so much Robert. You are always so helpful. I am so glad that we have you to help us in this forum. I am working on a WAB project for City of Arlington Texas. I may have some more questions to ask the forum. Helen //================================================================== this.basemapGallery = new BasemapGallery(config, this.basemapGalleryDiv); var items = array.map(this.basemapGallery.basemaps, function (basemap) { var layers = basemap.getLayers(); array.map(layers, function (layer) { layer.displayLevels = [10, 11, 12, 13, 14, 15]; }); });
... View more
06-08-2018
08:08 AM
|
1
|
1
|
2297
|
|
POST
|
I also looked at the basemap Gallery's widget.js file for the updateExtent method. It looks like it is for use of update map's extent to find best matched map scales for basemap to be loaded in the map. My purpose is to load basemap after the base map is selected from the basemap gallery widget. But the basemap will not display when my map is zoomed in to certain scale. Thanks.
... View more
06-06-2018
03:49 PM
|
0
|
3
|
2297
|
|
POST
|
Robert, I mean, I have tried to set the minScale and maxScale in the basemapGallry's configure json file, it doesn't work.
... View more
06-06-2018
03:45 PM
|
0
|
0
|
2297
|
|
POST
|
Thanks Robert, I have checked the code, the UpdateExtent method is called when a a basemap is selected in basemapGallery widget. Changing code may not fit my purpose. My purpose is , base map is loaded to the map when a basemap is selected. But it is invisible when the map is zoomed in to certain level. I can set up the initial basemap to be visible at certain scale range when I create the map in Portal for GIS. But for any basemap selected from the basemap gallery, I can't set up the visible scale range. I have tried to change the configuration jason file to set up the minScale and MaxScale from there, that still not works. Also, I have checked the basemap, basemapgallery and basemaplayer from the ESRI javascript API document (version 3.24) and can't find a method or property to set the basemap invisible.
... View more
06-06-2018
01:44 PM
|
0
|
6
|
2297
|
|
POST
|
Hello, In a Web Appbuilder application (developer edition), I would like the basemap added through BasemapGallery widget be set as invisible when zoom in to certain scale, how do I achieve this? Thanks Helen
... View more
06-06-2018
08:04 AM
|
0
|
8
|
2403
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 11-09-2022 10:27 AM | |
| 2 | 04-27-2022 08:20 AM | |
| 1 | 04-27-2022 08:35 AM | |
| 3 | 04-25-2022 09:20 AM | |
| 1 | 04-18-2022 07:38 AM |
| Online Status |
Offline
|
| Date Last Visited |
12-08-2023
10:33 PM
|