|
POST
|
You cannot mix tiled layers that have different spatial references (I know for a fact - I wrote the line of code that prevents it :-). So if it is indeed working for you, make sure you are not using ArcGISDynamicMapserviceLayer instead of ArcGISTiledMapServiceLayer. If you use the dynamic type and point it to a cached/tiled service, the service will be able to reproject, but you won't get the performance benefit of a cached/tiled service. Basically a tiled service can act both as a tiled and dynamic service, where a dynamic service can only act as a dynamic service. It's up to the client app to choose the 'right' layer type to use with the service. Use the tiled type if you can, but use dynamic if you need to reproject on the fly or if the service isn't cached/tiled.
... View more
01-06-2011
09:38 AM
|
0
|
0
|
1034
|
|
POST
|
You cannot do dynamic naming on items in an ItemsControl. I'm not sure this even makes any sense to do. Remember these are templates and not actual UIElement instances, so the naming on them usually don't mean anything to your app.
... View more
01-06-2011
09:32 AM
|
0
|
0
|
892
|
|
POST
|
Glad you like it! And thank you for reporting it in the first place 🙂 We have also forwarded the issue to Microsoft, and they are now aware of the problem and looking into resolving this so developers doesn't have to work around this.
... View more
01-05-2011
01:58 PM
|
0
|
0
|
699
|
|
POST
|
Your simplest option is to not retrieve the fields from the service in the first place, however that will also mean those fields won't show at all. Alternatively you will have to create your own FeatureDataForm. It's really just a set of textblocks and textboxes in a grid that two-way binds straight to the attributes of a selected graphic. ie.
<StackPanel x:Name="myForm">
<TextBlock Text="{Binding Attributes["ObjectID"]" />
<TextBox Text="{Binding Attributes["Name"], Mode=TwoWay}" />
</StackPanel>
...
private void ShowAttributes(Graphic g)
{
myForm.Visibility=Visibility.Visible;
myForm.DataContext = g;
}
... View more
01-05-2011
01:56 PM
|
0
|
0
|
420
|
|
POST
|
You need to make the SHAPE field visible, or the client API will not be able to query for the geometries.
... View more
01-05-2011
01:50 PM
|
0
|
0
|
1834
|
|
POST
|
when you query these layers, just make sure you set the OutputSpatialReference on the query to be the same as Map.SpatialReference. That way you will always get features back in an SR that matches the map, and you won't have to mess with reprojecting the features again later.
... View more
01-05-2011
01:48 PM
|
0
|
0
|
2485
|
|
POST
|
I'm terrible at guessing errors, so could you elaborate on "the system crashes" ? Does the entire system go down, just the browser, or just the silverlight app inside the browser, or...? Do you get a stacktrace? (and if so, what does it contain). If you run in debug mode, will it automatically hit a breakpoint in VS where you can get more information about what happened?
... View more
01-05-2011
01:41 PM
|
0
|
0
|
1122
|
|
POST
|
ArcGIS Server has a maximum image size it can return at 2048x2048, so you are likely hitting this limit. However the Silverlight API will "clip" at this size and you should instead see a slightly more blurry image, but still get the entire view covered (I just tried this across 3 screens and it worked for me). This was a bug in earlier builds of the API though. What version are you using?
... View more
01-05-2011
01:38 PM
|
0
|
0
|
2060
|
|
POST
|
The entire silverlight developer team visits the forums almost every day, and tries to help out when possible (although this is of course no guarantee your problem will be resolved here). If you have specific support needs, you are of course always welcome to contact esri's support hotline.
... View more
01-05-2011
01:34 PM
|
0
|
0
|
681
|
|
POST
|
There is no way to get to a collection of 'edits'. I suggest you do the validation of the edit before the edit itself is pushed to the feature layer. What type of validation are you trying to perform?
... View more
01-05-2011
12:27 PM
|
0
|
0
|
1903
|
|
POST
|
The Client API does not automatically do reprojection. You would have to call the GeometryService.Project method to reproject you features to the spatial reference of the map, prior to calling zoom, or up front retrieve your features in the correct spatial reference.
... View more
01-04-2011
02:12 PM
|
0
|
0
|
2485
|
|
POST
|
You are specifying White as transparent (255). Try and set it to '0' instead. Do you see the same issue if you use the REST endpoint directly (ie outside of Silverlight)?
... View more
01-04-2011
02:11 PM
|
0
|
0
|
1677
|
|
POST
|
The default image format for Image services is JPEG. Did you change the image format to PNG or PNGJPG which support transparency?
... View more
01-03-2011
08:05 PM
|
0
|
0
|
1677
|
|
POST
|
Creating templates in codebehind is really bad practice. I suggest having the template in your app resources and assigning them. Ie. myToc.Template = Resources["layerTemplate"] as ControlTemplate;
... View more
01-03-2011
08:44 AM
|
0
|
0
|
1062
|
| Title | Kudos | Posted |
|---|---|---|
| 2 | 05-11-2026 07:05 AM | |
| 2 | 03-19-2026 06:03 PM | |
| 1 | 03-03-2026 04:41 PM | |
| 1 | 02-26-2018 07:53 AM | |
| 1 | 02-26-2018 07:51 AM |
| Online Status |
Offline
|
| Date Last Visited |
4 weeks ago
|