|
POST
|
Your dictionary of parameters looks initialized but never used.
... View more
02-10-2011
10:35 AM
|
0
|
0
|
827
|
|
POST
|
I suggest you add a default symbol to your unique value renderer, so we will know if the issue is coming from the values of your attribute 'TYPE'.
... View more
02-10-2011
10:33 AM
|
0
|
0
|
1620
|
|
POST
|
I also noticed that the Renderer is workign on a Feature Layer....I have a grpahics layer THINK I AM HAVING issues because its a graphics layer....Can I even do this on a graphics layer? Renderers are working with feature layers AND with graphics layers. Do I have to set this up in VB? If you set up a renderer on the layer, you don't have to set the symbols on the graphics by code.
... View more
02-10-2011
09:43 AM
|
0
|
0
|
1620
|
|
POST
|
I can't reproduce this behavior. Is there something specific in your use case that could help to figure out the issue?
... View more
02-10-2011
09:38 AM
|
0
|
0
|
845
|
|
POST
|
The API documentation will give you the existing types of symbols : http://help.arcgis.com/en/webapi/silverlight/apiref/ESRI.ArcGIS.Client~ESRI.ArcGIS.Client.Symbols_namespace.html To get samples of symbols, you can look at the symbol gallery : http://help.arcgis.com/en/webapi/silverlight/samples/SymbolGalleryWeb/start.htm
... View more
02-10-2011
08:51 AM
|
0
|
0
|
1620
|
|
POST
|
That possible or wise? Code: <esri:UniqueValueInfo Value="Arizona" Source="/Assets/images/PushPin3.png"/> Code: <esri:UniqueValueInfo Value="Arizona" Symbol="{SOME ESRI SYMBOL}" /> The second syntax is the right one and you can use any symbols existing in the ArcGIS Silverlight client API. To get an image as symbol, the PictureMarkerSymbol is what you need. There is a sample of pushpin symbol here : http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#AddGraphicsXAML
... View more
02-10-2011
07:50 AM
|
0
|
0
|
1620
|
|
POST
|
Now I want to add the Opacity Slider but it looks like you can't mix and match the bindings to what is going on in the code behind. Is that true? I am essentially calliing the same method twice in my xaml too, does that matter? You can mix.... but I would not recommend this kind of mixture:). Everything works except for the slider part of it. My inquiring mind wants to know... So, for your mind only (but please don't use it:rolleyes:) MySlider.SetBinding(Slider.ValueProperty, new Binding("Opacity") { Mode = BindingMode.TwoWay, Source = nexradWmsLayer });
... View more
02-10-2011
07:30 AM
|
0
|
0
|
1796
|
|
POST
|
It's exactly what the renderers are for. You'll find sample here : http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#RenderersXAML
... View more
02-10-2011
07:00 AM
|
0
|
0
|
1620
|
|
POST
|
Right. In your first version you had no path called 'Element' which is mandatory for a line symbol or a fill symbol. Sorry, I should have noticed that in my first mail but I focused on the states.
... View more
02-10-2011
06:57 AM
|
0
|
0
|
1159
|
|
POST
|
<CheckBox x:Name="WeatherLayer" IsChecked="{Binding Visible, Mode=TwoWay}" Foreground="White"
Click="WmsLayer_Initialized" />
My method WMSLayer_Initialized turns the weather layer on and off Looks like you are doing the same thing twice, the binding to Visible is already supposed to turn on/off your layer. <Slider Margin="-5,0,0,0" Minimum="0" Maximum="1" Width="50"
Value="{Binding Opacity, Mode=TwoWay}" Height="18" />
nexradWmsLayer.Opacity = Slider.? Same here. You are trying to duplicate by code what the binding is supposed to do. I am not sure what you need in your application, but I would suggest you to start with something close to the sample and then figure out how to add the missing functionalities (for the moment I don't understand which one you need).
... View more
02-10-2011
05:47 AM
|
0
|
0
|
1796
|
|
POST
|
The states 'Selected' and 'MouseOver' are not in the same visualstategroup. They are in 'SelectionStates' and 'CommonStates' respectively. So you have to define these 2 groups in your template.
... View more
02-10-2011
05:28 AM
|
0
|
0
|
1159
|
|
POST
|
Which part of the sample do you want to write in code behind? The datatemplate part is not that obvious (but luckily not that often needed). To create a datatemplate with SL code you need the xamlreader. There is a sample in this thread : http://forums.arcgis.com/threads/18827-Convert-a-string-to-a-link-in-a-query-result?highlight=xamlreader
... View more
02-09-2011
11:58 PM
|
0
|
0
|
1796
|
|
POST
|
When I set the solution startup as MapPrinting.web, I get a directory listing when I build and run the solution. You have to set the start page of the web project to mapprinting.html or mainpage.aspx as well.
... View more
02-09-2011
01:14 PM
|
0
|
0
|
1721
|
|
POST
|
I dont have Legend control in ESRI.ArcGIS.Client.Toolkit Legend control is new with ArcGIS SL 2.1. Which version are you working with?
... View more
02-09-2011
10:02 AM
|
0
|
0
|
3645
|
|
POST
|
Don't forget to set the startup project to the web project.
... View more
02-09-2011
09:59 AM
|
0
|
0
|
1721
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 05-12-2025 03:01 AM | |
| 1 | 10-14-2025 09:24 AM | |
| 1 | 06-13-2013 09:22 AM | |
| 1 | 04-29-2022 02:21 AM | |
| 1 | 04-29-2022 02:28 AM |
| Online Status |
Offline
|
| Date Last Visited |
10-30-2025
08:06 AM
|