|
POST
|
Using FV3.0 and the out of box Legend widget. In fact, I just imported new project and ran with the existing layer/config and seems to be working fine. However, the existing config loads type="tiled" and type="feature". If I load ANY of them as type="dynamic", then the Legend widget will display them even if visible="false". The only way to remove them from the legend is to turn them on (check them in mapswitcher), then back off, and this will remove it from the legend. Anyone else have this issue and know of a "fix" for it? Thanks, R_ [ATTACH=CONFIG]19039[/ATTACH]
... View more
11-05-2012
03:01 PM
|
0
|
2
|
1256
|
|
POST
|
What version of the Identify widget are you using? In the earlier versions, If I had the actual name of a raster layer in the <layers> area, I could not get the pixel values. had to code it like: <fields all="true" />
With no name and/or fields, then it would report the class and pixel value of the raster. With the latest identify widget I am able to configure like such and get the data returned: <layers onlythese="true">
<layer>
<name>Elevation</name>
<fields all="false">
<field name="Pixel Value" alias="NAVD88 (m)" numberformat="2|,|." />
</fields> R_
... View more
11-05-2012
07:54 AM
|
0
|
0
|
1378
|
|
POST
|
Currently, if I minimize a widget, it will "shrink" up and to the left. Is it possible to have it shrink down and to the right and still have it as fix or float. If I set to vertical, it minimizes up and to the right instead of left, but I would like to have it fixed, and minimize down and right. any ideas? R_
... View more
11-01-2012
05:25 PM
|
0
|
0
|
586
|
|
POST
|
I have it with my coordinates as per this thread: http://forums.arcgis.com/threads/24407-Show-scale-with-coordinates R_
... View more
11-01-2012
03:08 PM
|
0
|
0
|
936
|
|
POST
|
You didn't say if you wanted it to load dynamically, or if you wanted the capability to add a csv file to the map. Not exactly what you are after, but he AddExcel widget will let you add an xls file to the current map: http://www.arcgis.com/home/item.html?id=b8d2f6a9063e44669eddfdd2d32244e8 pretty easy to convert a csv to xls. R_
... View more
11-01-2012
08:02 AM
|
0
|
0
|
2376
|
|
POST
|
Well, I don't work with secure services, so can't really do much testing. Curious, if you make the change below, do you actually see your features on the map? That would be the first place, if you can't see it, it's probably not loading properly. <operationallayers>
<layer label="XYZ Test of Edit" type="dynamic" visible="false" alpha="1.0" url="https://url.com/ArcGIS/rest/services/XYZ/FeatureServer"/>
<layer label="Editable Features" type="feature" visible="true"
info="widgets/InfoTemplates/SimpleInfoWinWidget.swf"
infoconfig="widgets/InfoTemplates/test.xml"
url="https://url.com/ArcGIS/rest/services/XYZ/FeatureServer/0"/>
</operationallayers>
Also, you may need to delete/re-publish your service, or try it with a different name as you say you created the templates, but I don't see them in your REST services. Here is the info for a line layer that I have that works in the edit widget. Notice the Templates: section which is missing from yours. Feature Layer: EditLines (ID: 0)
View In: ArcGIS.com Map
Display Field: SITECODE
Type: Feature Layer
Geometry Type: esriGeometryPolyline
Description:
Copyright Text:
Min. Scale: 0
Max. Scale: 0
Extent:
XMin: 559357.9375
YMin: 114810.068100002
XMax: 594669.064499997
YMax: 153591.5735
Spatial Reference: 32149
Drawing Info:
Renderer:
Simple Renderer:
Symbol:
Simple Line Symbol:
Style: esriSLSSolid, Color: [161, 0, 56, 255], Width: 1
Label: Lines
Description:
Transparency: 0
Labeling Info: N/A
Has Attachments: False
HTML Popup Type: esriServerHTMLPopupTypeNone
Object ID Field: OBJECTID
Global ID Field:
Type ID Field:
Fields:
OBJECTID (Type: esriFieldTypeOID, Alias: OBJECTID, Editable: False)
DEC_UNIT (Type: esriFieldTypeString, Alias: DEC_UNIT, Length: 15, Editable: True, Domain: Coded Values: [100-B/C: 100-B/C], [100-D/H: 100-D/H], [100-F/IU-2/IU-6: 100-F/IU-2/IU-6], ...5 more...)
Templates:
Name: EditLines
Description:
Drawing Tool: esriFeatureEditToolLine
Prototype:
Attributes:
DEC_UNIT:
Supported Interfaces: REST
Supported Operations: Query Add Features Update Features Delete Features Apply Edits
R_
... View more
11-01-2012
07:43 AM
|
0
|
0
|
2015
|
|
POST
|
anyone know how to remove/hide the little drop down menu arrow on the right? I have figured out how to remove the items from within it (Move up, Move down, etc), but can't figure out how/where to hide the icon itself. Thanks again, R_
... View more
10-31-2012
01:19 PM
|
0
|
0
|
2185
|
|
POST
|
Once you get it configured to use your layers instead of the default in the identifyWidget.xml, you may have issues with raster data. I had to set <fields all="true" /> in the identifyWidget.xml for my raster layer in order to get the results. In case this help, R_
... View more
10-31-2012
11:41 AM
|
0
|
0
|
1781
|
|
POST
|
After I click the search button on Robert's widget, I'd like the mouse to revert back to the pan tool so I can scoot around the map and see the selected points. It currently stays with the action to select more features. I think I need to do something to the function queryFeaturesGra(), along the lines of navTool.activate. That once a graphic search is excuted, the mouse changes to pan. Any chance you know? from the eSearchWidget documentation: <keepgraphicalsearchenabled>true</keepgraphicalsearchenabled> The keepgraphicalsearchenabled element is a Boolean that specifies whether or not to keep the graphical selection tool that the user chooses active even after a selection has been made. This means that you will not have to clear your selection and re-choose a graphical selection tool in order to make another selection. To unselect/disable the current graphical search tool all you have to do is clear your selection. Default is false if not specified. Robert included an option for that in the config. Set to false, this should do it for you, R_
... View more
10-31-2012
11:07 AM
|
0
|
0
|
3692
|
|
POST
|
The one thing I don't like is that any time I either clear or close the eSearchWidget (and does not do this with any of the other widgets), it also closes my popup that comes from the config. Even if I click on a feature "before" I even open the eSearchWidget, when I clear or close the search widget, the popup closes also. Have not figured out where/how to "disable" this yet. OK, figured it out. Just need to comment out the correct calls to hideInfoWindow(); (I just disabled the function with //map.infoWindow.hide(); ) Not sure if it breaks something else as I have not fully tested, but seems to be working fine. R_
... View more
10-31-2012
10:34 AM
|
0
|
0
|
1437
|
|
POST
|
Commenting out all the calls to it that I find. Don't know if they are "all" needed, but for this map, I don't ever want them. something like this: if(!disGrid){
wTemplate.addTitlebarButton(ICON_URL + "i_table.png", resultsLabel, showStateResults);
} I just comment out the entire "if" statement. and I change these showStateResults(); to //showStateResults(); for all I find EXCEPT the actual "private function showStateResults():void". I don't mess with that one, just the "calls" to it. R_
... View more
10-31-2012
10:06 AM
|
0
|
0
|
1437
|
|
POST
|
Know what you mean about constant tweaking. Not to mention one has to keep incorporating the "enhancements" Yes, I have my main service with the point, line, and poly datasets loaded in the map and visible as such: <layer label="Post-closure" type="dynamic" visible="true" alpha="1.0"
url="http://gis01.wch-rcc.com/ArcGIS/rest/services/SDCV_custom/post_closure/MapServer">
<sublayer id="2" popupconfig="popups/PopUp_wastepolys.xml"/>
<sublayer id="0" popupconfig="popups/PopUp_wastepoints.xml"/>
<sublayer id="1" popupconfig="popups/PopUp_wastelines.xml"/>
</layer> My nightly script (as my data is dynamic) will put a small buffer on the points and lines, then combine with the polygon layer. I have MANY items with the same ID (segments of a line, etc) so I then dissolve the buffer layer on my SITECODE field and make a single multipart shape for each SITECODE. that way, I will have one and only one value for each sitecode to search on, regardless of the number of features that actually comprise that SITECODE set. This is the layer that I will now search against. I don't even have to load that service in the map, just specify the feature in the eSearchWidget.xml as the URL. However, I did have to disable the calls showHighlight and infoWindow functions in the mxml for both the searchWidget and the FixedDG mxml. This keeps it from using a eSearch popup and instead grabs the popup configured in the config.xml as above (get weird results if I try to use the eSearch popups as they "point to" the centroid of the buffer polygon. Since I have combined a bunch of pipelines, etc, the centroid isn't always actually ON a feature). So, when I do a search, it finds all the "buffered" features that match my criteria and zooms to the extent as well as showing the selection by highlight color (I see now I need to increase my point buffer size as they are not "around" the points, they fall on top of it and hard to see). Since I also have the actual point,line,poly data loaded and visible, the highlight color appears to be "outlining" the data, when I click, the popup comes from the config. It also populates the datagrid with all the attributes from the "buffer" layer. I have different needs for each, the search/datagrid shows the information common to all features in that SITECODE, so a multipart works great. However, when I click on the feature, it actually pulls the popup so I can get info from each "individual" feature in that SITECODE (line segment lenth, current status of that segment, etc.) So, I get the data from my combined buffer layer in the DG (which is what I want as I only need one entry per SITECODE) and then if I click on an individual feature, I get the info from the config.xml popup, and I have it set to not display any fields on the popup if the value is blank or null. Hope this is clear, include a snapshot that has most everything visible in it (the line points and polys that meet search have small "selection" color around them, the one I clicked on has larger selection). [ATTACH=CONFIG]18892[/ATTACH] R_
... View more
10-31-2012
09:57 AM
|
0
|
0
|
1437
|
|
POST
|
More on this. in the eSearchWidget.xml I have <disablebuttons>grid,spatial,datagrid,graphic</disablebuttons> set. also, along with disabling the showStateResult, I moved the loader up to the text area as per here: http://forums.arcgis.com/threads/64335-eSearch-disable-Results-state?p=223600#post223600 This way, I only have the text search options and no other icons across the top. The loader function shows the spinner while loading, then, after load is done, it gives you the total number selected but you never navigate away from the initial search box so are ready for the next search. [ATTACH=CONFIG]18867[/ATTACH] R_
... View more
10-30-2012
05:21 PM
|
0
|
0
|
2255
|
|
POST
|
Glad to see you got it working. On mine, I need to search a point, polygon, and line layer at the same time, so I make a buffered polygon layer (combining the three) that is my search layer which is not visible. I have disabled the state results and the popup so it only highlights/zoom to the selected polygon, then when I click on it, it gives me the full popup for the respective point, line, or polygon layer and not the layer I'm actually searching against. R_
... View more
10-30-2012
03:25 PM
|
0
|
0
|
2255
|
|
POST
|
Ray, Just noticed this post: http://forums.arcgis.com/threads/2106-Radio-Button-on-off-Layers?highlight=remove+listener Thought you might get some ideas from it. R_
... View more
10-30-2012
11:00 AM
|
0
|
0
|
1499
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 05-21-2026 08:53 AM | |
| 1 | 05-14-2026 04:28 PM | |
| 1 | 05-07-2026 02:10 PM | |
| 1 | 04-02-2026 09:50 AM | |
| 1 | 04-01-2026 01:21 PM |
| Online Status |
Online
|
| Date Last Visited |
Monday
|