|
POST
|
I suggested replacing your binding statements with those on separate lines, since each target a different property. Using your code then, I just replaced those two lines. Also, you mentioned in your title and question that you are working with DynamicLayer. I do not see that in your code. You are using ArcGISTiledMapServiceLayer. If you intend to use a dynamic layer instead, you will need to set MapTip in code-behind after the dynamic layer has initialized.
... View more
08-13-2010
06:00 AM
|
0
|
0
|
476
|
|
POST
|
It might be because sampleserver3 gets refreshed every night. You can try to add features of these feature types first and then use the unique value renderer and this code.
... View more
08-12-2010
08:31 PM
|
0
|
0
|
1043
|
|
POST
|
Since you are using ArcGISDynamicMapServiceLayer, it's Layers will be loaded after it has been initialized. So you need to set your ComboBox ItemSource property in code-behind inside your Intialized eventhandler.
... View more
08-12-2010
08:01 PM
|
0
|
0
|
464
|
|
POST
|
Is your ZoomDuration set to 0 or some small number? Are you able to replicate this issue with another base layer? If your answer is yes on the first question, we are currently working on this issue. Jennifer
... View more
08-12-2010
07:28 PM
|
0
|
0
|
290
|
|
POST
|
I think you were close but you missed the TryCast.
Private Sub layer_InitializationFailed(sender As Object, e As EventArgs)
Dim layer As Layer = TryCast(sender, Layer)
MessageBox.Show(String.Format("Layer '{0}' is currently unavailable. Error: {1}", layer.ID, layer.InitializationFailure.Message))
End Sub
This is a useful link for C# to VB conversion: http://www.developerfusion.com/tools/convert/csharp-to-vb/ Jennifer
... View more
08-12-2010
04:24 PM
|
0
|
0
|
1238
|
|
POST
|
Sure, I will make sure to forward that request to our Dev Lead. Jennifer
... View more
08-12-2010
04:19 PM
|
0
|
0
|
838
|
|
POST
|
You can do something like to change the current order of your layers in code-behind.
LayerCollection layers = this.MyMap.Layers;
IEnumerable<Layer> newOrder = layers.Reverse();
LayerCollection newLayers = new LayerCollection();
foreach (Layer l in newOrder)
newLayers.Add(l);
layers.Clear();
foreach (Layer l in newLayers)
layers.Add(l);
Jennifer
... View more
08-12-2010
04:18 PM
|
0
|
0
|
1431
|
|
POST
|
Currently, MinimumScale is an internal property in the FeatureLayer.LayerInfo, so you will not be able to access it at this time. Jennifer
... View more
08-12-2010
04:07 PM
|
0
|
0
|
838
|
|
POST
|
<TextBlock Text="{Binding [API]}" FontWeight="Bold" /> <StackPanel Orientation="Horizontal"> <TextBlock Text="Web site: " /> <TextBlock Text="{Binding [Operator]}" /> </StackPanel> These Binding causes the BAD_PARSER_VALUE. I think you meant to put {Binding Attributes[API]} and {Binding Attributes[Operator]}. Jennifer
... View more
08-12-2010
03:59 PM
|
0
|
0
|
476
|
|
POST
|
distance in KM whenever user zooms in/out in my status bar Do you mean use ScaleBar like in this sample? http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#Scalebar If yes, the only change you really have to do is change DisplayUnits from Miles to Kilometers. Jennifer
... View more
08-12-2010
10:07 AM
|
0
|
0
|
1079
|
|
POST
|
Yup. Ali is right, no graphics can be clicked because there's no symbol for it. You can set GraphicsLayer.Renderer in XAML. It shouldn't be any different than how FeatureLayer.Renderer is set so you can refer to these sample: http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#FeatureLayerRendering You can simply use SimpleRenderer with the appropriate symbol template for your geometry type. Jennifer
... View more
08-12-2010
07:39 AM
|
0
|
0
|
1202
|
|
POST
|
Hmm.. the symbol you set on the feature does not have this black border? You can visit the Feature URL from the browser and see its DrawingInfo. These are the symbols used in your FeatureLayer. Check to see if it has a Line Symbol for outline. If you want to override the renderer or symbol, you can do so by setting FeatureLayer.Renderer or FeatureLayer.FeatureSymbol also. About the long wait for load, you can use Fiddler to see the web requests and responses. And see if it's busy sending/receiving requests or if something there is incorrect that causes the lag. Do you also know how many features are in that layer? I know there's a service limit of 1000 for 10.0 and 500 for 9.3. Jennifer
... View more
08-12-2010
07:34 AM
|
0
|
0
|
548
|
|
POST
|
Which approach did you use? You can check that all layers have initialized. If you are creating the layers in code, be sure to call layer.Initialize(), subscribe to Initialized event too. Jennifer
... View more
08-12-2010
07:25 AM
|
0
|
0
|
1194
|
|
POST
|
I'm glad you have Blend now. It really helps play around with controls. You can customize any of ESRI toolkit here. ShowAttributesOnAdd property when true will show a FeatureDataForm to display the attributes when you add a feature (EditAction is Add). Since you need to check if the add/edit is valid before actually adding the graphic, it will be best to set this property to false. If you wish to display the attributes on a successful add (one that you have marked as valid add), you can do your own call to display FeatureDataForm - this way you have more control of when this window is shown. Jennifer
... View more
08-12-2010
07:22 AM
|
0
|
0
|
271
|
|
POST
|
The service may have reached its limit of how many features it can return at once (the default is 500 for ArcGIS Server 9.3.1, 1000 for ArcGIS Server 10, 1000 for MapIt)... as mentioned here:http://help.arcgis.com/en/webapi/silverlight/help/creating_featurelayer.htm You can set the FeatureLayer.Symbol property depending on the geometry type (Marker symbols for Points, Line symbols for Polylines, Fill symbols for Polygons) or apply a renderer to FeatureLayer.Renderer. Either these properties can be set with any symbol of your choosing as long as it makes sense (matching the geometry type). Check out our Symbol Gallery, Renderer and Custom Symbol samples: This is for API v2.0 http://help.arcgis.com/en/webapi/silverlight/samples/start.htm and API v1.2 http://resources.esri.com/help/9.3/arcgisserver/apis/silverlight/samples/start.htm Jennifer
... View more
08-12-2010
07:15 AM
|
0
|
0
|
563
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 09-11-2025 01:30 PM | |
| 1 | 06-06-2025 10:14 AM | |
| 1 | 03-17-2025 09:47 AM | |
| 1 | 07-24-2024 07:32 AM | |
| 1 | 04-05-2024 06:37 AM |
| Online Status |
Offline
|
| Date Last Visited |
11-03-2025
08:39 PM
|