|
IDEA
|
I do like the layer list widget, but the TOC widget is better IMO, because you do not have to toggle between tabs to see checked layers and the legend. I would like to see a widget Just like the screen shot below. I just had a look at the ArcGIS Earth TOC and it looks like this: The problem here is that no symbology is displayed below the checkbox. Toggling just gives the end user something else they have to do with the existing widget. Make the checkboxes and layers visible in one screen just like ArcMap. Not sure why this has not been done. Here is an example, where the legend shows below the checkbox, yet when you get sublayers, you have to click on another box to get the legend? Why not just add the legend below the sublayers checkbox? Also, the when setting the visible layers in JavaScript, if the layer is visible in the map service, but I want it to be invisible within an application, I can do that, but the layer check box remains on. The checkbox needs to reflect the state of the layer visibility as set within the application. So you are saying, this is what your end users want to see as well?
... View more
07-25-2016
10:28 AM
|
1
|
1
|
3641
|
|
IDEA
|
I have a measurement widget that I use, however when drawing a line, the units will not appear until the draw is complete. When using data projected in Web Mercator, the units will display and calculate as the line is drawn. Here is an example: As the line is in draw mode (web Mercator): In my app, units only show when draw is complete since I use a State Plane projection. What if a user wants to draw a line at 2000 feet? How will they know when the line shows a distance of 2000 feet? At this point, they have to guess the distance. The units must calculate and display as the line is drawn when using source data that is using a projection system other than web mercator. Very important widget functionality for the end user. Need this to work with a state plane projection.
... View more
07-22-2016
01:08 PM
|
2
|
0
|
643
|
|
POST
|
Kelly, that worked. BTW, how can I get the units to display as I am drawing a line to get the length? I only get the units when the draw is completed.
... View more
07-22-2016
06:17 AM
|
0
|
0
|
716
|
|
IDEA
|
Bjorn, yes, making the legend tab active on start up. That would work and I can use that if it is possible. "Could you explain? If some layers are set to no visibility and still showing as checked, that sounds more like a bug...", that is what I am saying. I can give you a screenshot tomorrow.
... View more
07-21-2016
05:12 PM
|
0
|
0
|
3641
|
|
IDEA
|
Thanks Bjorn! I actually had a brief chat with you at the Dev Summit. Also, you will be glad to know that I have been using this widget since April and really like it. I have a few apps that are using this widget. BTW, can you add in a property where I can switch the order of the sublayers and legend, that is allowing for the legend to appear before the sublayers? Also, need an option where I can set the visibility of the layers (as turned off) but that those layers unchecked in the layer list? For instance, I had addresses set to no visibility in the app, but they were still showing as checked on in the layer list. Need those two to work together.
... View more
07-21-2016
03:49 PM
|
0
|
1
|
3641
|
|
POST
|
I have tried to add in a measuring widget to my application and cannot get it to work, unless I add in a basemap property to the map. There isn't much code. Here is the error I am getting in console mode: My application code is attached. In the past, I used the same widget (at version 3.09 but did not have any issues). Here is a brief snipped of the main application code: // Define the default geometry service esriConfig.defaults.geometryService = "http://gis.edmondok.com/arcgis/rest/services/Utilities/Geometry/GeometryServer"; // Map - Initial Extent var initialExtent = new Extent(2097523, 220046, 2189056, 275030, new SpatialReference({wkid: 102724})); map = new Map("map", { extent: initialExtent, }); var measurement = new Measurement({ map: map, defaultAreaUnit: Units.SQUARE_FEET, defaultLengthUnit: Units.FEET }, dom.byId("measurementDiv")); measurement.startup(); var baseMap = new ArcGISDynamicMapServiceLayer("http://gis.edmondok.com/arcgis/rest/services/Base/BaseMap/MapServer", { id: "Base Map", visible: true }); map.addLayers([baseMap]); Any ideas on what could be the issue? I am using the same geometry and services in other apps and they are working fine. Thank you! Ian
... View more
07-21-2016
12:55 PM
|
0
|
2
|
2180
|
|
POST
|
I am having the same issue. From what I have found, the widget seems to work if there is a base map specified in the map. However, I do not recall this being the case.
... View more
07-21-2016
12:12 PM
|
0
|
0
|
432
|
|
POST
|
Here is the answer: FAQ: Is it possible to create hyperlinks for data stored in a local drive in an ArcGIS Online web map?
... View more
07-11-2016
12:34 PM
|
2
|
0
|
1031
|
|
POST
|
I have numerous datasets that contain hyperlinks. These hyperlinks are referenced to a drive that way staff members can access the drive. An example of the hyperlink is: P:\GIS\CITYLIMITS\ORD_0423.pdf In Web App Builder, this does not work. I found that using the following address will work: http://<machinename>/hyperlinks/Citylimits/ORD_0423.pdf How can I get my hyperlinks to work using my existing file paths rather than changing them all and having to host documents on the application server? Thank you!
... View more
07-11-2016
09:18 AM
|
0
|
1
|
2720
|
|
POST
|
Thank you Much Robert! I did look at the sample and the ordering is how I want. I now just need to study the code to see how to re-arrange the order, but the sample you provided does just that.
... View more
07-08-2016
12:41 PM
|
0
|
0
|
738
|
|
POST
|
I have been working with the layer list widget and I really like it. It is being used in several applications. One thing I have noticed is that the sublayers appear before the legend by default. is there a way to switch the order around? Just curious if this is possible. Thank you for any input. Ian
... View more
07-08-2016
06:39 AM
|
0
|
2
|
2849
|
|
POST
|
Is there a way to refresh the graphic within an ArcGIS Dynamic Web Service without having to change the extent or zoom after performing an edit to a feature layer? The graphic for the dynamic layer will not change unless I perform a pan or zoom. I use the feature layer to update attributes, but it is limited to a single or unique field, since a unique value with multiple fields is not supported. Here is what my layer list looks like: Any ideas how I can get the dynamic layer to refresh without having to change the extent or refreshing the application? Thank you! Ian
... View more
06-08-2016
11:58 AM
|
1
|
0
|
1582
|
|
POST
|
Thank you much Robert! Always appreciate your feedback. I found another way to do this: This block of code also solves the issue. The childNodes have an index number: // Layers Widget - List of Layers to Include var layers = [ { layer: airPhoto, showSubLayers: false, showLegend: false, visibility: false },{ layer: baseMap, showSubLayers: true, showLegend: true, visibility: true },{ layer: sewer, showSubLayers: true, showLegend: true, visibility: true },{ layer: wwlmMaintenance, showSubLayers: true, showLegend: true, visibility: true, } ]; // Layers Widget - Add List var layerList = new LayerList({ map: map, showLegend: true, showSubLayers: true, showOpacitySlider: false, layers: layers },"layerList"); // Layers Widget - Choose Child to be Expanded on Load [0] Indexing Number in Order layerList.on("load", function() { layerList._layersNode.childNodes[0].className += " esriListExpand"; layerList._layersNode.childNodes[1].className += " esriListExpand"; }); // Layers Widget - Start Up layerList.startup();
... View more
05-13-2016
06:08 AM
|
0
|
2
|
1790
|
|
POST
|
I have an application using the layer list with legend. When the application loads, I am looking to have two of the layers automatically expanded. So far, I can get one to expand on load, but I want another layer. Here is what I have: The code to accomplish this task is: // Layers Widget - Choose Child to be Expanded on Load layerList.on("load", function() { layerList._layersNode.firstElementChild.className += " esriListExpand"; }); When the application loads, I am wanting these layers to display like the screenshot below: I was thinking something like this, but it does not seem to work. //layerList.on("load", function() { // layerList._layersNode.secondElementChild.className += " esriListExpand"; //}); Does someone know of another method I can use to have both layers expanded on map load? Thank you!
... View more
05-11-2016
09:23 AM
|
0
|
4
|
3533
|
|
POST
|
Robert, you are the man! I just did commented out those line and that works! Perfect! Also, my related objects still works. BTW, does WAB support related objects on related objects? That is.. I have a feature such as a traffic pole, the traffic pole then has a mast arm as a related object. The mast arm then has a signal head as a related object, the signal head has an LED as a related object. Can I drill down that far to get that information from a Popup. Thank you so much for the feedback.
... View more
05-03-2016
09:52 AM
|
0
|
1
|
885
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 04-01-2022 05:53 AM | |
| 1 | 09-18-2018 06:17 AM | |
| 1 | 06-19-2018 10:31 AM | |
| 1 | 05-15-2018 10:42 AM | |
| 1 | 10-14-2015 03:59 PM |
| Online Status |
Offline
|
| Date Last Visited |
06-10-2025
07:13 AM
|