POST
|
Hi, I am trying to display an operational sub-layer that is set at 50% transparency in my MXD. Within the MXD I have set 'Use Color Transparency' in the MSD, but my REST service for this layer (sub-layer 1 below) indicates transparency on this layer is 0. Below is my code I use in the FlexViewer config: <operationallayers> <layer label="Meters" type="dynamic" visible="true" imageFormat="png32" url="http://ags2.cdm.com/arcgis/rest/services/Meters/MapServer"> <sublayer id="0" popupconfig="popups/PopUp_AMR.xml"/> <sublayer id="1" popupconfig="popups/PopUp_AMR_PressureZones.xml"/> </layer> </operationallayers>
... View more
05-27-2011
05:31 AM
|
0
|
0
|
31
|
POST
|
Hello, I am looking for some help implementing the SimpleInfoWindow. Presently I get nothing. Here is what i have in my main config file: <operationallayers> <layer label="Meters" type="Dynamic" visible="true" info="widgets/InfoTemplates/SimpleInfoWinWidget.swf" infoconfig="widgets/InfoTemplates/IWT_AMR.xml" url="http://ags2.cdm.com/arcgis/rest/services/Meters/MapServer"/> </operationallayers> And this is what i have in the IWT_AMR.xml file: <?xml version="1.0" ?> <configuration> <fields>LocID, Meter_No</fields> <titlefield>Meter_No</titlefield> <linkfield></linkfield> <datefields>5000</datefields> <!-- field in milliseconds --> <zoomscale>5000</zoomscale> </configuration>
... View more
05-13-2011
12:02 PM
|
0
|
0
|
0
|
POST
|
Robert, I'm having trouble configuring the Identify tool. It appears on the viewer, and allows me to select features form my operational layer, shows me the 'loading...' spinning icon, but i get nothing back.... Here's what's in my main config file: <widget label="Identify" left="330" top="80" preload="open" icon="assets/images/i_info.png" config="widgets/Identify/IdentifyWidget.xml" url="widgets/Identify/IdentifyWidget.swf"/> and here's what's in my IdentifyWidget.xml file: <?xml version="1.0" ?> <!-- //////////////////////////////////////////////////////////////////////////////// // // Version 2.3.1 - May. 3, 2011 // /////////////////////////////////////////////////////////////////////////////// --> <configuration> <betareturngeometryfix>false</betareturngeometryfix> <identifylayeroption>all</identifylayeroption> <identifytolerance>5</identifytolerance> <defaultzoomscale>5000</defaultzoomscale> <keepidentifyactive>true</keepidentifyactive> <returngeometryforzoom>false</returngeometryforzoom> <labels> <zoom2message>Click to Zoom to Meter</zoom2message> <identifylabel>Identify</identifylabel> <resultslabel>Results</resultslabel> <descriptionlabel>Use the identify tool to identify features on the map:</descriptionlabel> <pointlabel>Identify by Point</pointlabel> <linelabel>Identify by Polyline</linelabel> <rectlabel>Identify by Rectangle</rectlabel> <polylabel>Identify by Polygon</polylabel> <clearlabel>Clear</clearlabel> <loadinglabel>Loading...</loadinglabel> </labels> <useproxy> <proxylayer> <!--name>Imagery</name--> </proxylayer> </useproxy> <layers onlythese="true"> <layer> <name>Meters</name> <fields>LocID, Meter_No</fields> <linkfield></linkfield> <linkprefix></linkprefix> <linksuffix></linksuffix> <iconfield></iconfield> <iconprefix></iconprefix> <iconsuffix></iconsuffix> <zoomscale>15000</zoomscale> <forcescale>true</forcescale> </layer> </layers> <symbols> <simplefillsymbol color="0x448ccb" alpha="0.4" style="solid"> <outline color="0x448ccb" alpha="0.8" width="2"/> </simplefillsymbol> <simplemarkersymbol style="circle" size="12" color="0x448ccb" alpha="0.8" xoffset="0" yoffset="0" angle="0"> <outline style="solid" color="0xffffff" alpha="0.8" width="1"/> </simplemarkersymbol> <picturemarkersymbol url="assets/images/i_info.png" height="30" width="30" xoffset="0" yoffset="0" /> <simplelinesymbol color="0x448ccb" alpha="0.8" width="2"/> </symbols> </configuration>
... View more
05-13-2011
11:46 AM
|
0
|
0
|
2
|
POST
|
Hi, is there any way to edit this just through the HeaderControl.xml? I want to replace the default banner with one of our own....however, i'm only working with the compiled flexviewer and can't edit the mxml.... thanks
... View more
05-03-2011
12:29 PM
|
0
|
0
|
31
|
POST
|
Thanks for the above hint, I used it to hyperlink email address I obtained from a query as shown below: <slData:DataGridTemplateColumn Header="Email"> <slData:DataGridTemplateColumn.CellTemplate> <DataTemplate> <HyperlinkButton NavigateUri="{Binding Attributes[Email], StringFormat='mailto:\{0\}'}" Content="Email" TargetName="_blank" Foreground="Blue" FontWeight="Normal"/> </DataTemplate> </slData:DataGridTemplateColumn.CellTemplate> </slData:DataGridTemplateColumn>
... View more
01-03-2011
09:44 AM
|
0
|
0
|
13
|
POST
|
That worked, however now I get the same problem with "clr-namespace:System.Windows.Data;assembly=PresentationFramework" Any more advice? thanks
... View more
12-29-2010
03:35 PM
|
0
|
0
|
2
|
POST
|
Hi All, I�??m attempting to use this tutorial to sort a combobox�??s contents thru XAML : http://msdn.microsoft.com/en-us/library/ms742542(v=VS.100).aspx it requires mapping to "clr-namespace:System.ComponentModel;assembly=WindowsBase" and "clr-namespace:System.Windows.Data;assembly=PresentationFramework" . I can find both WindowsBase.dll and PresentationFramework.dll but these are the ones build against .NET and so won�??t work with Silverlight. I don't appear to have a Siliverlight one in my reference assemblies. Anyone got any bright ideas? thanks
... View more
12-29-2010
07:10 AM
|
0
|
3
|
908
|
POST
|
Hi All, I have a map of office locations that are currently 'Clustered' by the number of people in each, with a maximum flare count of 10. If < 10 people per office the point flares out and I use a maptip to show the name, email, phone number etc. I'm using an Info window instead of maptips on those points where I have > 10 people. For example, I may have over 30 Names, Emails and Phone Numbers at one point. I can easily interrogate the attributes of the selected graphic/point to get all the info I need and drop it into a string for display in the infowindow. However, how do I go about formatting it before displaying it? I'd like to add it into some kind of template or grid to organise it. Thanks
... View more
12-16-2010
12:42 PM
|
0
|
10
|
2554
|
POST
|
Hi, I need a little help here. It's too simple to be true! Here�??s what I have done: �?� I have created a virtual directory in IIS, pointing back to C:\...\SilverlightApplication1.Web �?� I created Test.html, and placed it in C:\...\SilverlightApplication1.Web �?� Within C:\...\SilverlightApplication1.Web\ClientBin I renamed my *.xap to Test.xap My thinking is that by hitting http://.../GISSubDisc/GISubDisc_test.html I should get a result, right? But I'm not... Thanks
... View more
12-13-2010
09:30 AM
|
0
|
0
|
24
|
POST
|
How do you set the render value to NULL? my code below doesn't work: <esri:FeatureLayer ID="GISClients" Url="http://ags2.cdm.com/ArcGIS/rest/services/GISClients/MapServer/0" Renderer="" FeatureSymbol="{StaticResource MyMarkerSymbol}" OutFields="First_Name,Last_Name"> <esri:FeatureLayer.Clusterer> <esri:FlareClusterer FlareBackground="Blue" FlareForeground="Black" MaximumFlareCount="10" Gradient="{StaticResource BlueGradient}" /> </esri:FeatureLayer.Clusterer>
... View more
10-21-2010
09:54 AM
|
0
|
0
|
4
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|