|
POST
|
Hello, I have one more question. Given we can define the width of a field in .css, can we also set the width by default and make the field width adjustable as well, meaning if by default a field is 100px, but I can use the left mouse click to widen the field to 200, 300, or 400px? Is that possible?
... View more
10-17-2016
07:58 AM
|
0
|
0
|
2890
|
|
POST
|
Thank you for this additional information. This is helpful.
... View more
10-14-2016
07:36 AM
|
0
|
0
|
2890
|
|
POST
|
Thank you John! That did the trick. CSS is challenging for me sometimes....
... View more
10-13-2016
05:39 PM
|
0
|
2
|
2890
|
|
POST
|
I am populating an array that contains fields and labels that will be used in a data grid. I am working with the ESRI sample, and I am trying to change the width of the columns for each attribute, but have not had any luck. Here is the block of code: var columns = [ {'field': 'PARCELID', 'label': "Parcel ID"}, {'field': 'OWNERNME1', 'label': 'Owner 1'}, {'field': 'OWNERNME2', 'label': 'Owner 2'}, {'field': 'RESYRBLT', 'label': 'Year Built'}, {'field': 'SITEADDRESS', 'label': 'Street Address', 'width': '50'} ]; The fields all remain the same width within the application. I am testing with this sample: Here is the sample I am looking at: Display Find Task results in Dojo DataGrid I just cannot get the column widths to change. Anyone have any ideas? Thanks!
... View more
10-13-2016
02:30 PM
|
0
|
6
|
3966
|
|
IDEA
|
Sounds interesting. Will be interesting to see if you can get this to work using group layers. I did submit an enhancement request a while back. I will have to check and see if it is still out there.
... View more
08-25-2016
10:36 AM
|
0
|
1
|
3010
|
|
IDEA
|
I am working in 3.17. Not going to 4.0 until more functionality is introduced, but eventually we will get there.
... View more
08-25-2016
08:29 AM
|
0
|
0
|
3010
|
|
IDEA
|
Brandon this looks great! This is exactly a widget that would be useful within applications. I am now wondering why this type of widget has not been introduced in the API because out of all the GIS Developers I have had a chat with, they are wondering the same thing.
... View more
08-25-2016
08:28 AM
|
0
|
1
|
3010
|
|
IDEA
|
Hello Brandon! I started using the layer list widget that allows for checking on and off layers as well as the ability to display a legend. So far, this has worked really well. Here is a sample below that I use in an application: Layer list in Sublayer Mode: Layer List in Legend Mode: Would a widget like this work for your needs? Ian
... View more
08-24-2016
11:27 AM
|
0
|
1
|
4441
|
|
POST
|
Actually, when I did not have the require it did not work. I do not have any requires in my index.htm. Everything is in modules .
... View more
08-12-2016
09:38 AM
|
0
|
0
|
3744
|
|
POST
|
Ken, Thanks for sharing your information. I do have good news. I got my floating pane to work without affecting the map and not shifting in a different position. I noticed that you had the floating pane outside of the border container, which was very helpful. Here is what I did: 1. Delcared "dojox/layout/FloatingPane", in my map.js file. I did not have this declared. 2. Moved the following Code outside of the border container: Having the floating pane inside the map DIV was certainly causing some issues. After making these minor changes, I now have it working. Here is a preview below: Thank you for the input. Now that I have the floating pane working, I plan to use it for many other tools . Just make sure it is outside the border container .
... View more
08-12-2016
08:57 AM
|
0
|
2
|
3744
|
|
POST
|
Ken, You are helping me out so far. The difference is between your map and my map is that my floating pane is inside the map. That is proving to be the reason why the initial spatial extent is messing up along with the change in position each time the floating pane is closed. It looks like I need the floating pane on top of all my other DIVs. Your floating pane is on top of the map, the right pane, and the title pane. If I can do that, I should resolve the issue. However, I did try to move the floating pane div outside of my application header DIV, left pane DIV, and map DIV, but this broke the application. I may have some additional questions if that is OK...but seeing your application is helpful because I can clearly see the behavior of your floating pane.
... View more
08-11-2016
01:22 PM
|
0
|
0
|
3744
|
|
POST
|
Ken, Thank your for the response. Still not sure why my floating panel keep changing positions. I have nearly the same css as you: /* ESRI Measurement Widget - Floating Pane Properties */ #divFloatingPane{ z-index: 1; top: 50px; width: 238px; height: 220px; border: 1px solid black; background-color: white; visibility: hidden; } Then /* Dojox File Folder Floater at the Bottom of Map */ .dojoxDock { visibility: hidden; } Now in the index.htm, I have the pane inside the map DIV. Is that were you have it? Here is my block of code inside the index.html file. <!-- Map --> <div id="map" data-dojo-type="dijit/layout/ContentPane" data-dojo-props="region: 'center'"> <!-- Map Home Button --> <div id="HomeButton" title="See Full Map"></div> <!-- Search Tool - Find Facility ID --> <div id="search" title="Find Facility ID"></div> <!-- Measuring Widget - Floating Content Pane --> <div id="divFloatingPane" data-dojo-type="dojox/layout/FloatingPane" data-dojo-props="resizable:false, dockable:true, closable:false" title="Measuring Tools"> <div id="measurementDiv"></div> </div> </div Still not sure why my spatial extent is being thrown off.
... View more
08-11-2016
12:35 PM
|
0
|
0
|
3744
|
|
POST
|
Here is some code I can provide: index.html <!-- Measuring Widget - Floating Content Pane --> <div id="divFloatingPane" data-dojo-type="dojox/layout/FloatingPane" data-dojo-props="resizable:false, dockable:true, closable:false" title="Measuring Tools"> <div id="measurementDiv"></div> </div> layout.css /* *********************************** */ /* * MEASUREMENT * */ /* *********************************** */ #measureToolFrame{ position: absolute; top: 45px; right: 190px; border: 1px none black; width: 34px; height: 34px; } #measure{ width: 24px; height: 24px; background-image:url(http://arcgis02/vegetationmanagement/images/measuring.png); background-size: 24px; } /* Measurement Widget - Size of Frame */ #measurementDiv{ width: 243px; height: 190px; border: 1px none black; background-color: none; } /* ESRI Measurement Widget - Floating Pane Content Window Undernearth Widget */ .dojoxFloatingPaneContent{ height: 190px; background: white; overflow: none !important; } /* ESRI Measurement Widget - Floating Pane Canvas */ .dojoxFloatingPaneCanvas{ width: 243px; height: 190px; background-color: white; border: 1px none black; } /* ESRI Measurement Widget - Floating Pane Properties */ #divFloatingPane{ z-index: 1; top: 50px; width: 238px; height: 220px; border: 1px solid black; background-color: white; visibility: hidden; } /* ESRI Measurement Widget - Floating Pane Title */ .dojoxFloatingPaneTitle, .reportTitlePane { height: 22px; width: 246px; background-color: #2E8B57; font-family: calibri; font-size: 13pt; font-weight: bold; color: white; overflow: none; } /* ESRI Measurement Widget - Button Properties */ .esriMeasurement .dijitReset .dijitInline.dijitButtonNode{ margin-top: 5px; margin-left: 5px; background-color: none; border-radius: 4px; border-color: #E1E1E1; }
... View more
08-11-2016
10:35 AM
|
0
|
0
|
3744
|
|
POST
|
Hello everyone. I have recently tried something new with an application. I have added a button to the main toolbar and when it is clicked, a measurement widget appears within a floating pane. The tool works well, but I noticed that it affects my initial map extent when the application is first loaded. Also, when closing the floating pane then re-opening, it shifts the floating pane to the right and down a few pixels. My question is, what should I look at to correct these issues. Here is a screenshot of the button that fires the floating pane and the floating pane that contains the measurement widget: After closing the pane, then reopening (repeat step a couple of times). Notice how the pane shifted to the right and down and part of it is cut off on the map: Also when the map first loads, here is the extent (not the initial extent I set): When I hit the home button twice (notice the map goes to full-extent my set initial extent): The Floating pane DIV is causing this issue, because when I comment out the code, it works just fine. Anyone have and recommendations on how I can maintain the initial spatial extent while the floating pane exists? How can I close the floating pane and have it re-open in the same location after it is closed? I can share code if necessary. I will also point out that the z-index value is set to 999 for the floating pane. Any suggestions will be greatly appreciated. Thank you!
... View more
08-11-2016
10:32 AM
|
0
|
10
|
6062
|
|
IDEA
|
Kevin, I used the TOC widget in older apps, but it had it's issues as it was a non-ESRI widget as you know. That particular widget had an issue with group layers as well. I believe no further work has been done on this widget and some of the goofiness has not been fixed, so I turned to the current ESRI solution. The layer list widget is nice, but I do agree with you, combine the two. The widget I want should have the same behavior as an ArcMap TOC like the sample below: We are moving to more web-based type applications and many users like the current ArcMap TOC. All this would involve is a click or turn on the layer and everything is there. I am wondering why this type of functionality has not been included and what the design reasoning might be? I have used the non-ESRI TOC widget on iPad and it worked just fine.
... View more
07-25-2016
11:15 AM
|
0
|
0
|
4441
|
| 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
|