|
POST
|
Phillip, I tested this with my enhanced draw widget... In the DrawWidget.mxml make use you have graphicsLayer = new GraphicsLayer();
graphicsLayer.id = "myGraLay";
graphicsLayer.name = "myGraLay";
graphicsLayer.addEventListener(GraphicEvent.GRAPHIC_ADD,addContextMenu);
map.addLayer(graphicsLayer); At the very beginning of the init function.
... View more
10-27-2010
04:21 AM
|
0
|
0
|
2778
|
|
POST
|
Jason, Hope I can clear things up for you. You do begin in ArcMap by creating a ArcMap project (MXD) that you will optimize and then publish to ArcGIS Server. In ArcMap you will use the Map Service Publishing toolbar for the optimization. It is recommended that you publish as an MSD which is a optimized MXD. So a Map service that you publish can have multiple layers and data from multiple locations. Once you publish a Map Service you get REST Endpoints that will allow you to query and display the Map service in Flex.
... View more
10-26-2010
04:52 PM
|
0
|
0
|
1086
|
|
POST
|
Mike, The forum condenses urls by default. the actually url is not changed but what is displayed is a condensed version. As far as code insert look at this attachment.
... View more
10-26-2010
04:24 PM
|
0
|
0
|
3226
|
|
POST
|
Bill, This is very strange. Are you using the compiled or uncompiled?
... View more
10-26-2010
04:07 PM
|
0
|
0
|
2323
|
|
POST
|
All, Don't forget to rate and comment on this code here http://www.arcgis.com/home/item.html?id=5d4995ccdb99429185dfd8d8fb2a513e
... View more
10-26-2010
03:43 PM
|
0
|
0
|
2778
|
|
POST
|
Alex, Thanks for that info. There was so much code to convert and create to get this widget converted to FlexViewer 2.1 and all Spark component and skins that I knew I would miss a couple of things. I will include that change in the next version that I am working on that allows for number and currency formatting of fields in addition to the date formatting.
... View more
10-26-2010
03:35 PM
|
0
|
0
|
2778
|
|
POST
|
All, Let's try this again. Version 2.1.1 Here is what was done * Fixes issue with Search Results not having all the specified fields * Enhancement made to use fields alias if an alias is not specified in the SearchWidget.xml * Enhancement made to use the dateformat attribute in the datagrid for date fields also * Fixed integration issue with the draw widget * Fixed the issue of the graphics not be clear from the screen when the widget is closed
... View more
10-26-2010
12:48 PM
|
0
|
0
|
2778
|
|
POST
|
All, Just hang tight with all the issue you are having i.e. the missing png and the results only having the titleField. I have pulled this widget until I get these things fixed and will have a new version fixing all of these issues ASAP.
... View more
10-26-2010
11:55 AM
|
0
|
0
|
2778
|
|
POST
|
James, Yep that is expected as the zoom slider only displays tick for map services that are tiled/cached and your are dynamic right now.
... View more
10-26-2010
07:51 AM
|
0
|
0
|
1899
|
|
POST
|
James, If you go to your REST Service directory for your largest base map service are those similar to the ones listed there for the initial extent?
... View more
10-26-2010
07:08 AM
|
0
|
0
|
1899
|
|
POST
|
James, Are you making sure you change the initial extent values of the map to match your basemaps coordinates?
... View more
10-26-2010
06:51 AM
|
0
|
0
|
1899
|
|
POST
|
Graham, It is not completely apparent what issue you are having even with the image you provided. Are you talking about two graphics in a graphics layer that you are unhappy about the blending method results? If so look here http://forums.esri.com/Thread.asp?c=158&f=2421&t=295115&mc=7#msgid924744
... View more
10-26-2010
04:09 AM
|
0
|
0
|
688
|
|
POST
|
Mike, I remember going through this before and what you have to did (if I recall correctly) is add the embeded font to the index.mxml.
... View more
10-26-2010
03:55 AM
|
0
|
0
|
936
|
|
POST
|
Neil, The issue with the symbology not coming across is a limitation of not have the data coming from a ArcGIS 10 Server. If you are still using a 9.3.1 server than you will have to provide your own renderer info here is a sample that demos that http://help.arcgis.com/en/webapi/flex/samples/index.html?sample=Renderer. for the pdf link you will need a <linkfield>your_pdf_complete_url_ field</linkfield> in your /IWT_Centerline_Ties.xml file.
... View more
10-25-2010
06:05 PM
|
0
|
0
|
1496
|
|
POST
|
Mike, Can you provide me with more details on your configuration? Maybe provide me with the whole layer configuration like in this example <layer>
<name>Traffic Cameras</name>
<url>http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Louisville/LOJIC_PublicSafety_Louisville/MapServer/2</url>
<expression>upper(DESCRIPTION) LIKE upper('[value]%')</expression>
<textsearchlabel>Search Traffic Cameras by Location... [ Example: I-71 ]</textsearchlabel>
<graphicalsearchlabel>Use one of the graphical search tools to select Traffic Cameras</graphicalsearchlabel>
<spatialsearchlabel>Select the two layers for spatial query</spatialsearchlabel>
<spatialsearchlayer>true</spatialsearchlayer>
<spatialrelationlayer>true</spatialrelationlayer>
<fields all="false">
<field name="DESCRIPTION" alias="Description" gridfield="true" />
<field name="URL" alias="Show Image" hyperlinkgridfield="true" hyperlinkaliastext="Get Traffic Image"/>
<field name="ONLINE" alias="Online" gridfield="true" gridfieldonly="true"/>
<field name="LAST_UPDATED" alias="Last Updated" gridfield="true" gridfieldonly="true"/>
</fields>
<titlefield>DESCRIPTION</titlefield>
<linkfield>URL</linkfield>
<zoomscale>5000</zoomscale>
</layer> As far as the spatial query error that is a simple fix that I will change in the download for others but you can fix that easily by replace my servers url with a esri server url Find the line in the SearchWidget.xml that has the geometryService and put this <geometryservice>http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Geometry/GeometryServer</geometryservice>
... View more
10-25-2010
05:51 PM
|
0
|
0
|
4815
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 04-14-2020 11:36 AM | |
| 17 | 05-17-2021 01:51 PM | |
| 1 | 07-06-2020 05:32 AM | |
| 1 | 07-10-2018 05:49 AM | |
| 9 | 01-28-2022 10:58 AM |
| Online Status |
Offline
|
| Date Last Visited |
06-08-2026
06:27 AM
|