|
POST
|
I see you are loading all the layers in the dynamic service. Have you tried setting the visiblelayers in your dynamic service to only show the annotation layer? http://resources.arcgis.com/en/help/flex-viewer/concepts/index.html#/Layer_tag/01m30000000p000000/ R_
... View more
09-11-2012
10:44 AM
|
0
|
0
|
2227
|
|
POST
|
Yes there is. What ever you pick in the AddExcel.xml as the <message> tag in that file states. R_
... View more
09-10-2012
10:01 AM
|
0
|
0
|
1878
|
|
POST
|
Brilliant! Drew thank you so much. Two quick questions (hopefully): 1. Is there a way to have the "Go to Coordinates" window preload when the application starts instead of 'Live Coordinates'? Can I just copy the widget and comment out everything but the 'Go to Coordinates' functionality? Many thanks, again! Well, there is probably a "better" way to do this, but this works: Make this change: <viewer:WidgetTemplate open="{this.graphicsLayer.visible = true; }" closed="{this.graphicsLayer.visible = false; }" id="wTemplate" width="400" height="235" visible="false"> and add this: private function init():void
{
//Set Helper
this.helper = new CoordinateMenuWidgetHelper(configXML,map);
//SET Mouse Event Handlers
this.map.addEventListener(MouseEvent.MOUSE_MOVE, onMapMouseMove);
this.map.addEventListener(MouseEvent.CLICK, onMapMouseClick);
//Add GraphicsLayer to map
this.graphicsLayer.symbol = new SimpleMarkerSymbol("circle",10,0xFF0000);;
this.map.addLayer(this.graphicsLayer);
// add additional contex menu for projected coords.
if (this.helper.coordinateSystems.length == 0)
{
btnProject.visible = false;
btnProject.includeInLayout = false;
}
goToCoordinate.show(configXML,map);
}
... View more
09-10-2012
08:34 AM
|
0
|
0
|
3237
|
|
POST
|
Glad you got it working. Since you have your own server, you may want to create a geometry service and replace this with yours: <geometryservice>http://tasks.arcgisonline.com/ArcGIS/rest/services/Geometry/GeometryServer</geometryservice> Not sure how large your searched data is, but I find some improvment using my own geometry server rather than hitting ESRI's (sometimes I guess, depends on the status of "our" network). Of course, not sure if it matters if you don't do spatial searches. R_ How's Poky treating you?
... View more
09-06-2012
02:29 PM
|
0
|
0
|
1156
|
|
POST
|
This should work for you as a test. (as long as you haven't modified the addexcel.xml to change column names. I noticed if you have the wrong column names, it doesn't error out, it just throws the points in some arbitrary place over in Europe) R_
... View more
09-06-2012
01:09 PM
|
0
|
0
|
1878
|
|
POST
|
What does the <map> and <basemaps> section of your config.xml look like? R_
... View more
09-06-2012
11:49 AM
|
0
|
0
|
1878
|
|
POST
|
as well as no quotes around the url and no url= inside the url tag. this is working. Since the PLSS Point search is Yes/No, I made that a userlist. <layer> <definitionexpression></definitionexpression> <enableexport>true</enableexport> <name>Control Point</name> <url>http://rd.giscenter.isu.edu/arcgis/rest/services/MCPD_beta/MapServer/0</url> <expressions> <expression alias="PLSS PT" textsearchlabel="Search PLSS Point:" isvaluerequired="false"> <values> <value prompt="Example: Yes/No" userlist="Yes,No,all" isvaluerequired="false">PLSSCORNER = '[value]'</value> </values> </expression> <expression alias="Name" textsearchlabel="Search Name:" isvaluerequired="false"> <values> <value prompt="Example: 300420" isvaluerequired="false">POINTNAME = '[value]'</value> </values> </expression> <expression alias="Township" textsearchlabel="Search Township:" isvaluerequired="false"> <values> <value prompt="Example: 6" isvaluerequired="false">TOWNSHIP = '[value]'</value> </values> </expression> <expression alias="Range" textsearchlabel="Search Range:" isvaluerequired="false"> <values> <value prompt="Example: 6" isvaluerequired="false">RANGE = '[value]'</value> </values> </expression> </expressions> <graphicalsearchlabel>Use one of the graphical search tools to select Control Points</graphicalsearchlabel> <spatialsearchlayer>false</spatialsearchlayer> <titlefield>TOWNSHIP</titlefield> <fields all="false"> <field name="TOWNSHIP"/> <field name="PLSSCORNER" alias="PLSS Corner" gridfield="true"/> <field name="POINTNAME" alias="Name" gridfield="true"/> <field name="TOWNSHIP" alias="Township" gridfield="true"/> <field name="RANGE" alias="Range" gridfield="true"/> <field name="OBJECTID" visible="false" /> </fields> <links /> <zoomscale usegeometry="true" zoompercent="2"></zoomscale> <autoopendatagrid>true</autoopendatagrid> <queryattachments>false</queryattachments> <relates /> <symbology> <simplefillsymbol color="0x0000ff" alpha="0.5"> <outline color="0x00ffff" alpha="0.8" width="2" /> </simplefillsymbol> </symbology> </layer> R_
... View more
09-06-2012
07:30 AM
|
0
|
0
|
1156
|
|
POST
|
Jorge, As this widgets developer I would suggest that you pay close attention to my responses to your inquiry. In my last post I corrected some of the text in your expression. Go back to my last post and copy the expression as your had the order of the single qoutes and the percent symbol backwards. Guess I should pay more attention to that also as if I put the percents outside the quotes, I get the fault code 400 error also...
... View more
09-04-2012
04:12 PM
|
0
|
0
|
2643
|
|
POST
|
Great Anthony! It was the first basemap. A simple question... Now the points are correctly ploted. Thanks for your advice! Hi Jefferson, If they are plotting correctly then you must have got the map wkid to WGS84 so they display correctly. However, that means that your map is now WGS84 and the Bing maps are tiled in the webmercator system. Did you find a way to load Bing maps as dynamic so they actually overlay, or did you give up on having a bing map as well? Thanks, R_
... View more
09-04-2012
02:08 PM
|
0
|
0
|
3001
|
|
POST
|
So i am not getting it should we downgrade to 10.0 to be able to use this API? I don't see the lower right copyright stuff, but the Bing logo has been in the lower left since at least 9.3.1 and I am now in 10.0 and it is still there. R_
... View more
09-04-2012
01:57 PM
|
0
|
0
|
1947
|
|
POST
|
I just downloaded the version from here: http://www.arcgis.com/home/item.html...ddfdd2d32244e8 and incorporated into a "new" FV 3.0 final app (using SDK 4.6) and all directories, etc. seem to be correct. However, it appears as if there are still some old import statements in the mxml that need to be updated. If you are running uncompiled version, all I did was make this change, and it is working with no issues: import com.esri.ags.webmap.PopUpRenderer;
import com.esri.ags.webmap.supportClasses.PopUpInfo;
import com.esri.ags.webmap.supportClasses.PopUpMediaInfo; and change them to: import com.esri.ags.portal.PopUpRenderer;
import com.esri.ags.portal.supportClasses.PopUpInfo;
import com.esri.ags.portal.supportClasses.PopUpMediaInfo;
... View more
09-04-2012
12:58 PM
|
0
|
0
|
2048
|
|
POST
|
Of course, didn't even see the + sign as a concatenate, guess I just blended it into the commas and saw it as a parameter 🙂 Since you said it looked like eDraw code, I looked again, and it is from my Bookmarkwidget.mxml. However, I noticed that it IS the code from the eDraw widget. For some reason, some how the entire code of the bookmark widget got replaced with the code from eDraw??????? This also explains my missing bookmarks icons..... R_
... View more
09-04-2012
11:39 AM
|
0
|
0
|
1262
|
|
POST
|
Thanks so much. I am trying to implement the search with the AND using two fields. <expressions> <expression alias="Property Parcels" textsearchlabel="Search by PRJTRACTNO AND OWNER"> <values> <value prompt="Enter Project Number">UPPER(PRJTRACTNO) LIKE UPPER(%'[value]'%)</value> <value prompt="Enter Owner"> AND UPPER(OWNER) LIKE UPPER(%'[value]'%)</value> </values> </expression> </expressions> However I got the error which is showinfg in the attached image Thanks Jorge I would guess that your PRJTRACTNO is actualy a number field and not a text field. If so: <expressions>
<expression alias="Property Parcels" textsearchlabel="Search by PRJTRACTNO AND OWNER">
<values>
<value prompt="Enter Project Number">PRJTRACTNO = [value]<value>
<value prompt="Enter Owner"> AND UPPER(OWNER) LIKE UPPER(%'[value]'%)</value>
</values>
</expression>
</expressions>
If I try to search a numeric field using text input, I get the same error that you posted. R_ Of course, as Robert pointed out, the double wildcards can/will match a LOT of values.
... View more
09-04-2012
11:29 AM
|
0
|
0
|
2643
|
|
POST
|
Did you remember tocopy the as3xls folder into the com folder of your project? Did you add the dpUInt_b_v09_2_Flex_3.swc into your libs folder, OR include it in your build path library list? That is what gave me the red x's when I first incorporated it into version 3. Hope this helps, R_
... View more
09-04-2012
11:19 AM
|
0
|
0
|
2048
|
|
POST
|
Guess I don't quite understand why/when one would want to embed an image vs sourcing it. Do some of the images have to be embedded or could one make the changes below without causing issues (on any widget embed statement)? from: source="@Embed(source='assets/viewer/i_save.png')" To: source="(source='assets/images/i_save.png')" I find that I am constantly having to recopy the w_close.png i_save.png after some cleans or builds. Thanks, R_ PS, any idea where the bookmark.mxml is looking for the i_save.png? this is the line of code wTemplate.addTitlebarButton(WIDGET_URL + "i_save.png", saveLabel, saveGraLay,false); but there is no path, and it doesn't seem to matter where I put it now, it will not show. Was working fine until I did a clean.
... View more
09-04-2012
11:05 AM
|
0
|
0
|
1262
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | Thursday | |
| 1 | 2 weeks ago | |
| 1 | 04-02-2026 09:50 AM | |
| 1 | 04-01-2026 01:21 PM | |
| 1 | 10-08-2025 11:59 AM |
| Online Status |
Online
|
| Date Last Visited |
7 hours ago
|