|
POST
|
Was wondering if you got this working, and if so, if you would be kind enough to share the "modified" source? Thanks, R_
... View more
06-28-2012
02:37 PM
|
0
|
0
|
920
|
|
POST
|
I have a string of widgets on the header controller. Is it possible to have "one" of the widget icons over at the far right of the banner (next to the About link) while keeping the others together as normal? Thanks for any insight, R_
... View more
06-27-2012
09:12 AM
|
0
|
1
|
2532
|
|
POST
|
Sure can, however, when trying to get you an "example" I figured something else out. Does not seem to matter if I use a type feature or dynamic it seems to work. HOWEVER, if I configure ANY popup on ANY layer, then the list will only populate if usebasemap=true. R_ If I uncomment EITHER of the services with PopUps, it will "mis-behave". <configuration>
<title>Washington Closure Hanford</title>
<subtitle>River Corridor Closure - Not For Design Use</subtitle>
<logo>assets/images/logo.png</logo>
<style>
<colors>0xFFFFFF,0x333333,0x101010,0x000000,0xFFD700</colors>
<alpha>0.8</alpha>
</style>
<bing key="AiaFVmE9xmvmVUzC_RZpSZPq3CdFGutOv5xC52-2f_hNW7O80xqSgVHa2Q-3ws_x"/>
<!-- replace the following url with your own geometryservice -->
<geometryservice url="http://gis01.wch-rcc.com/ArcGIS/rest/services/Geometry/GeometryServer" />
<!-- UI elements -->
<widget left="10" top="50" config="widgets/Navigation/NavigationWidget.xml" url="widgets/Navigation/NavigationWidget.swf"/>
<widget left="8" bottom="70" config="widgets/Coordinate/CoordinateWidget.xml" url="widgets/Coordinate/CoordinateWidget.swf"/>
<widget right="-2" bottom="-2" config="widgets/OverviewMap/OverviewMapWidget.xml" url="widgets/OverviewMap/OverviewMapWidget.swf"/>
<widget right="20" top="55" config="widgets/MapSwitcher/MapSwitcherWidget.xml" url="widgets/MapSwitcher/MapSwitcherWidget.swf"/>
<widget left="0" top="0" config="widgets/HeaderController/HeaderControllerWidget.xml" url="widgets/HeaderController/HeaderControllerWidget.swf"/>
<widget right="95" bottom="3" config="widgets/Copyright/CopyrightWidget.xml" url="widgets/Copyright/CopyrightWidget.swf"/>
<map esrilogovisible="false" wraparound180="true" initialextent="571640 150000 579000 155000" fullextent="546200 111450 599500 165000" top="40" addarcgisbasemaps="false">
<basemaps>
<layer label="None" type="tiled" visible="false" alpha="1"
icon="assets/images/basemap_none.jpg"
url="http://gis01.wch-rcc.com/ArcGIS/rest/services/Base/none/MapServer"/>
<layer label="Hanford" type="dynamic" visible="true" alpha="1"
icon="assets/images/basemap_2015.jpg"
url="http://gis01.wch-rcc.com/ArcGIS/rest/services/Base/base_background/MapServer"/>
<layer label="2008" type="tiled" visible="false" alpha="1"
icon="assets/images/basemap_2008.jpg"
url="http://gis01.wch-rcc.com/ArcGIS/rest/services/Imagery_2008/MapServer"/>
<layer label="2009" type="tiled" visible="false" alpha="1"
icon="assets/images/basemap_2009.jpg"
url="http://gis01.wch-rcc.com/ArcGIS/rest/services/Base/2009_Imagery/MapServer"/>
<layer label="2011" type="tiled" visible="false" alpha="1"
icon="assets/images/basemap_2011.jpg"
url="http://gis01.wch-rcc.com/ArcGIS/rest/services/Base/2011_Imagery/MapServer"/>
</basemaps>
<operationallayers>
<!-- <layer label="Plumes" type="dynamic" visible="false" alpha="1"-->
<!-- url="http://gis01.wch-rcc.com/ArcGIS/rest/services/rkz/d2h_cr_plume_con/MapServer">-->
<!-- <sublayer id="0" popupconfig="popups/PopUp_plumes.xml"/>-->
<!-- </layer>-->
<layer label="Plumes_no_popup" type="dynamic" visible="true" alpha="1"
url="http://gis01.wch-rcc.com/ArcGIS/rest/services/rkz/d2h_cr_plume_con/MapServer"/>
<!-- <layer label="Hanford Wells" type="dynamic" visible="false" alpha="1"-->
<!-- url="http://gis01.wch-rcc.com/ArcGIS/rest/services/Base/wells/MapServer">-->
<!-- <sublayer id="1" popupconfig="popups/PopUp_wells.xml"/>-->
<!-- <sublayer id="0" popupconfig="popups/PopUp_Inject.xml"/>-->
<!-- </layer>-->
</operationallayers>
</map>
<!-- widgets organized into widget containers that manage close/open etc -->
<!-- supported layout property options: horizontal(default)|float|vertical|fix-->
<widgetcontainer layout="float">
<widget label="Bookmarks" left="430" top="90"
icon="assets/images/i_bookmark.png"
config="widgets/Bookmark/BookmarkWidget.xml"
url="widgets/Bookmark/BookmarkWidget.swf"/>
<widget label="Dynamic Legend" x="50" y="100" preload="open" height="500"
icon="assets/images/i_legend2.png"
config="widgets/DynamicLegend/DynamicLegendWidget.xml"
url="widgets/DynamicLegend/DynamicLegendWidget.swf"/>
<widget label="Swipe Spotlight" left="60" top="330" preload="minimize"
icon="assets/images/i_swipe.png"
url="widgets/SwipeSpotlight/SwipeSpotlightWidget.swf"
config="widgets/SwipeSpotlight/SwipeSpotlightWidget.xml"/>
</widgetcontainer>
</configuration>
... View more
06-25-2012
03:37 PM
|
0
|
0
|
1082
|
|
POST
|
Robert, Not sure if you noticed I edited my post, but It appears as if type="dynamic" behaves the same way if you load a sublayer (which I need for PopUps to work). R_
... View more
06-25-2012
11:07 AM
|
0
|
0
|
1082
|
|
POST
|
Yes, I have operational layers, but have figured out some of what is going on. I have my operational layers loaded as type="feature". However, the SwipeSpotlight tool will support type="dynamic" (with no sublayers) with usebasemaps=false, but usebasemaps has to be set to "true" to get type="feature" operational layers to show in the drop down. If I set my sublayer ID so that I can get the popups to work on dynamic, then the SwipeSpotlight behaves the same as with type="feature" (I.e, the drop down does not populate). Guess I can set it to usebasemaps="true", then go into the mxml and "filter out" all the basemaps from the list. R_
... View more
06-25-2012
10:23 AM
|
0
|
0
|
1082
|
|
POST
|
Have you installed the Copyright widget ( http://www.arcgis.com/home/item.html?id=3893f396489344aa9f8fcdef15b3fe1b ) and set the Credits property of you mapservice layer? Works fine for me in all versions tested. R_
... View more
06-21-2012
11:43 AM
|
0
|
0
|
407
|
|
POST
|
I am trying to get the SwipeSpotlightWidget to funtion in 3.0. Have tried both the compiled version (compiled for 3 final) and the uncompiled with the same results with each. I am not able to see "any" layers in the drop down list unless I tell it to <?xml version="1.0" ?> <configuration> <usebasemaps>true</usebasemaps> <askaboutturningonlayer>true</askaboutturningonlayer> </configuration> then ALL the layers show up in the dropdown. If I Set it this way <?xml version="1.0" ?> <configuration> <usebasemaps>false</usebasemaps> <askaboutturningonlayer>true</askaboutturningonlayer> </configuration> , then NONE of the layers (operational or basemaps) show up. Have tested with a brand new copy of the view/API with no other widgets included but the operational layers will not populate unless I turn the basemaps on also. Also, tested in the 2.5 version with no problems. Wondering if anyone else has seen this behaviour and knows a "fix" for it? Thanks, R_
... View more
06-18-2012
03:09 PM
|
0
|
8
|
2853
|
|
POST
|
Not sure if there is a way to force the browser to do it, but if you choose "View" "Full screen" (F11 in IE), it goes into full screen mode BUT it also allows you to enter text, etc. R_
... View more
06-11-2012
09:46 AM
|
0
|
0
|
983
|
|
POST
|
Couple things that may do it. I have the linkfield commented out as I am using multiimagefield instead. Take a look at my xml as it is working fine. shows the multi images and all the attributes in the <fields> columns. Also, I have my images referenced by UNC also. But, I have made a virtual directory (as recommended) in my flex project that "points" to the actual location of the photos. This helps get rid of any permission issues AND lets you encode the images with a true URL (http://) address. For Flex project "hanf" <?xml version="1.0" ?>
<configuration>
<fields>SIS_ID,OSE_ID,OSE_REPORT,CLASSIFICATION,MRSTEW_DESC,PHOTOS</fields>
<titlefield>OSE_ID</titlefield>
<links>
<!-- <linkfield icon_or_text_or_img="img" icon="" linkalias="Photo" linkprefix="http://gis01.wch-rcc.com/hanf/images/"
linksuffix="">PHOTOS</linkfield> -->
</links>
<multiimagefield linkprefix="http://gis01.wch-rcc.com/hanf/images/" linksuffix="" nexttooltip="Next" prevtooltip="Prev">PHOTOS</multiimagefield>
<!-- <datefields>collection_time</datefields> -->
<zoomscale>50000</zoomscale>
<csvseparator>,</csvseparator>
<layername>MR Features</layername>
<labels>
<csvdefaultname>Related Records</csvdefaultname>
<exportbtnlabel>Export...</exportbtnlabel>
<export2csvoptionlabel>Export to CSV...</export2csvoptionlabel>
<export2txtoptionlabel>Export to Txt...</export2txtoptionlabel>
</labels>
</configuration>
... View more
06-11-2012
08:07 AM
|
0
|
0
|
631
|
|
POST
|
That did the trick. Thanks! one more quick question, the attribute table where I have my photos stored. The photos are in the HYPERLINK field stored as "http://servername/folder/photo.jpg Does this make a difference or should I have the photo file name only as opposed to the entire URL to the specific photo in one field? Mine actually has the subfolder(s)/filename.jpg in the field but Robert made the widget to work either way, and is set up in the individual xml config files. Some of mine have MANY photos, so I ran into field length issues and such trying to code entire paths. Since I just have the folder/filename in there, I use the linkprefix tag in the xml to add the "http://server/basepath/" Have not tried it, but if you have the full URL in the hyperlink field, then should work if you don't use the linkprefix <multiimagefield linkprefix="" linksuffix="" nexttooltip="Next" prevtooltip="Prev">HYPERLINK </multiimagefield> . Also, he has a linksuffix option as well if you need to append ".jpg" or the like to the path. So, your URL will be the <linkprefix> + <linkfield> + <linksuffix>. Should give you the freedom to set it up as you like. R_
... View more
06-07-2012
01:21 PM
|
0
|
0
|
631
|
|
POST
|
I removed it from the config.xml, but, it still shows up. Here is my config.xml: Since you are using the compiled version, it shouldn't be a build project issue. My first thought would be to clear all the browser cache files, then open in a "new" browser window. Pressing <cntrl><F5> is supposed to reload without cached pages, so might try that. However, depends on what flakiness your windows has, this works great on some of my computers, others it just ignores it. Have not been able to figure out why, but on the ignore box's, one has to clear the cache pages AND start a new browser EVERY time you make a change, or you won't see it. R_
... View more
06-07-2012
01:02 PM
|
0
|
0
|
1556
|
|
POST
|
The "more" tab is related to the MapSwitcher widget. either remove the San Francisco 3-1-1 service from your operational layers in the config.xml (if you don't want it on the map) OR, set up the MapSwitcherWidget.xml to exclude that layer if you need it in your map but do not want it to show in the "more" tab. R_
... View more
06-07-2012
12:52 PM
|
0
|
0
|
1556
|
|
POST
|
Timothy, I tried it with 3.0 yesterday with no joy. I'm hopefull that we will get this functionalilty in 3.0 as it is a great feature. Your are right, Roberts widget works like a charm if you follow the instructions exactly.. Remember no spaces in between the photo names, etc. The following link has a bunch of good info on some of the quirks I ran into, how to code sub-folders into the path, etc. http://forums.arcgis.com/threads/26094-view-multiple-pictures?p=157815#post157815 Once you get it set up, should do just what you are after, R_
... View more
06-06-2012
08:07 AM
|
0
|
0
|
1556
|
|
POST
|
Don't know that it works in 3.0, but this is the only way I have found to hyperlink "multiple" comma separated photos for a single feature. At least using Viewer 2.5. http://www.arcgis.com/home/item.html?id=4ec33120c9ea4d019fddf722fc34ea3c Might get some ideas there. R_
... View more
06-05-2012
12:40 PM
|
0
|
0
|
1556
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | Wednesday | |
| 2 | a week ago | |
| 1 | 10-30-2025 04:04 PM | |
| 2 | 11-03-2025 02:33 PM | |
| 1 | 10-15-2025 01:28 PM |
| Online Status |
Online
|
| Date Last Visited |
5 hours ago
|