|
POST
|
It looks like by using the ScrollableMap sample, I posted a few days ago (http://resources.esri.com/arcgisserver/apis/silverlight/index.cfm?fa=codeGalleryDetails&scriptID=16969), it should work inside a listbox (even without using the scrollviewer capabilities). Without scrollviewer for the item: <ListBox Margin="0,5,0,10">
<local:ScrollableMap>
<esri:Map x:Name="LocalMap" Width="600" Height="400" >
<esri:ArcGISTiledMapServiceLayer ID="MyLayer"
Url="http://server.arcgisonline.com/ArcGIS/rest/services/ESRI_StreetMap_World_2D/MapServer" />
</esri:Map>
<local:ScrollableMap>
</ListBox> With a scrollviewer for panning the map: <ListBox Margin="0,5,0,10">
<ScrollViewer ScrollViewer.HorizontalScrollBarVisibility="Auto" ScrollViewer.VerticalScrollBarVisibility="Auto">
<local:ScrollableMap>
<esri:Map x:Name="LocalMap" Width="600" Height="400" >
<esri:ArcGISTiledMapServiceLayer ID="MyLayer"
Url="http://server.arcgisonline.com/ArcGIS/rest/services/ESRI_StreetMap_World_2D/MapServer" />
</esri:Map>
<local:ScrollableMap>
</ScrollViewer>
</ListBox>
... View more
06-02-2010
04:41 AM
|
0
|
0
|
778
|
|
POST
|
I have not reproduced the compile error when a feature layer has no URL. What is exactly the error you get?
... View more
06-01-2010
08:43 AM
|
0
|
0
|
758
|
|
POST
|
Might be the same issue than this one : http://forums.arcgis.com/threads/2896-FeatureDataGrid-and-SL-API-v2.0?highlight=featuredatagrid Which version of the ArcGIS SL API are you using?
... View more
06-01-2010
08:36 AM
|
0
|
0
|
410
|
|
POST
|
Some other possible options: 1) Use the DisplayFieldName (class IdentifyResult), which likely is the field you want to display. 2) Use the userToken (optional second argument of ExecuteAsync) to store your field name. On the event ExecuteCompleted, you will get back the field name as UserState of the identifyEventArgs. 3) Define your own handler for the event ExecuteCompleted and add the field name as argument of this handler.
... View more
06-01-2010
07:21 AM
|
0
|
0
|
691
|
|
POST
|
Just a quick answer to one of your previous question : Looking more closely at the XAML code in the sample, there is an Int32 for the Button.CommandParameter for the Add Polygon. Just curious if this value is unique for this edit operation? This Int32 is the feature type which is created by the 'Add' command (useful because the template picker is not used). So I guess you have to adapt this value to your service. Sorry I have no clue for your latest issues.
... View more
05-26-2010
06:17 AM
|
0
|
0
|
620
|
|
POST
|
By including the SHAPE field, it means that the geometry is serialized, transferred and deserialized. So, depending on the number of objects returned by your query, you can slow down the performance (also depending on type of geometry, a point is lighter than a polyline or a polygon). This is the reason why in the query sample (http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#AttributeQuery), a first query is done to get the state names without the geometry and then, when the user selects one state, a new query is done on this state. I tested the first query with all fields instead of just the state name. In this case the request returns about 220kb instead of 616b ==> ratio = 360.
... View more
05-26-2010
06:05 AM
|
0
|
0
|
311
|
|
POST
|
Your approach looks good to me. Another method could be to use the CenterAndZoom method I gave in this thread : http://forums.arcgis.com/threads/3330-Address-locator-problem But you will have to calculate the resolution to get a 50km extent.
... View more
05-26-2010
05:54 AM
|
0
|
0
|
385
|
|
POST
|
Hi ChapScribe, In your code you are supposed to bind to a dictionary. So I suggest you change your code 'Binding = new Binding(item.Value)' by 'Binding = new Binding("[" + item.Value + "]")'. Note : this is only working with SL4. With previous version, you have to use the Dictionary converter.
... View more
05-26-2010
05:51 AM
|
0
|
0
|
497
|
|
POST
|
What kjnd of line symbols are you using in your MXD? For test purpose, use a simple line symbol , set the width to 2 or more. Is the result better?
... View more
05-26-2010
05:49 AM
|
0
|
0
|
772
|
|
POST
|
We need to know if your issue is coming from the Silverlight API or from ArcGIS Server. Using 'ARcGIS Service Manager', do you see your service as started? Using 'ArcGIS Services Directory', can you browse to your service and display it (using ArcGIS Javascript for example) ?
... View more
05-26-2010
05:41 AM
|
0
|
0
|
349
|
|
POST
|
In this thread http://forums.arcgis.com/threads/5093-Refresh-Dynamic-Layer-using-timer, the issue was solved by setting DisableClientCache. Did you try that?
... View more
05-26-2010
05:35 AM
|
0
|
0
|
325
|
|
POST
|
The ClassBreaksRenderer.Classes property is read-only, but the underlying ObservableCollection can be modified : ClassBreaksRenderer.Classes.Add(myClassBreakInfo) or ClassBreaksRenderer.Classes.Remove(myClassBreakInfo)
... View more
05-19-2010
10:13 AM
|
0
|
0
|
957
|
|
POST
|
Here is a good community example of TOC : http://resources.esri.com/arcgisserver/apis/silverlight/index.cfm?fa=codeGalleryDetails&scriptID=16851
... View more
05-19-2010
09:14 AM
|
0
|
0
|
666
|
|
POST
|
We can't change the opacity of a sublayer at the client level. We can only change the visibility (on/off).
... View more
05-19-2010
09:11 AM
|
0
|
0
|
362
|
|
POST
|
I am not able to reproduce the issue. Can you produce it with the online sample or is it tied to kind of services you are using?
... View more
05-19-2010
09:09 AM
|
0
|
0
|
416
|
| Title | Kudos | Posted |
|---|---|---|
| 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 | |
| 1 | 09-07-2021 03:12 AM |
| Online Status |
Offline
|
| Date Last Visited |
10-30-2025
08:06 AM
|