|
POST
|
Are you experiencing this problem only when the map is rotated or can you reproduce it even when the rotation is not set?
... View more
11-25-2010
10:06 AM
|
0
|
0
|
2310
|
|
POST
|
Hi Dave, I just updated the print sample with your great additions: - dictionary that be used for custom values to be output (I transformed it to an ObservableDictionary that is useful in some scenarios). - new events OnErrorPrinting, PageChanged and PrintProgress (I changed your event 'OnPrintInitializing' to 'PageChanged'. This allows to change the output by page and and to see the result in the preview window (not tied to the beginning of the print)). Here is an example of output depending on the page (text changes). Thank you very much for your suggestions.
... View more
11-25-2010
09:58 AM
|
0
|
0
|
1490
|
|
POST
|
Hi Demin, Thanks for your nice comments. I am glad this helped you.
... View more
11-24-2010
05:59 AM
|
0
|
0
|
2403
|
|
POST
|
You can only create a controltemplate by parsing in the xaml as a string (using XamlReader). I found an example in this thread : http://forums.arcgis.com/threads/11356-MapTip-not-working-while-using-a-Custom-Marker-Symboll
... View more
11-24-2010
05:57 AM
|
0
|
0
|
797
|
|
POST
|
Hi Dave, Thank you very much for your additions. I will update the sample with them. Just a question about the added dictionary: Isn't possible to get the same expected result by initializing the data context of the map printer with whatever the user wants (a dictionary being a particular case)? Note that, I didn't really try this option, so there is possibly a blocking point somewhere:)
... View more
11-23-2010
10:46 AM
|
0
|
0
|
2403
|
|
POST
|
Hi Ryan, I eventually understood where the issue is coming from. It's a caching issue with WPF. At this time, I can't tell you which version will fix the issue, but we'll let you know. The workaround can be to disable the client caching by adding 'DisableClientCaching="True"' to your dynamic map service. Thanks for pointing this issue out.
... View more
11-23-2010
02:18 AM
|
0
|
0
|
1157
|
|
POST
|
You are right. The legend REST end point is available from AGS 10 SP1. The fallback mechanism, using arcgis.com legend service, needs a publicaly visible map service.
... View more
11-22-2010
06:35 AM
|
0
|
0
|
1427
|
|
POST
|
Hi Don, Looks like you are working with JavaScript API, not with Silverlight. You might have more chance to get an answer by posting your question on this forum : http://forums.arcgis.com/forums/15-ArcGIS-API-for-JavaScript
... View more
11-22-2010
12:42 AM
|
0
|
0
|
1427
|
|
POST
|
Hi Don, Looks like you are working with JavaScript API, not with Silverlight. You might have more chance to get an answer by posting your question on this forum : http://forums.arcgis.com/forums/15-ArcGIS-API-for-JavaScript
... View more
11-22-2010
12:41 AM
|
0
|
0
|
1827
|
|
POST
|
I think you got the point. EditorWidget is an implementation of an UI editing tool using behing the scene the editor class. In a first time, I suggest you start using the editor widget which is easier to use.
... View more
11-20-2010
01:32 AM
|
0
|
0
|
721
|
|
POST
|
You may have reached the limits of the service. There is a limit on how many features a service can return at once (by default it's 500 for ArcGIS Server 9.3.1 and 1000 for ArcGIS Server 10). You can change this limit, but take care that, as you mentionned, you can run into a performance issue if a huge number of graphics have to be rendered at the client level. 'OnDemandCacheSize' is used to free the graphic objects which are out of the current extent. It's not used to limit the number of objects inside the current extent.
... View more
11-20-2010
01:22 AM
|
0
|
0
|
634
|
|
POST
|
Yes, it's possible to customize the legend tree on the event 'Legend.refreshed'. Ryan did it and gave his code here : http://forums.arcgis.com/threads/17674-2.1-LegendItems-Always-Null
... View more
11-20-2010
01:09 AM
|
0
|
0
|
1427
|
|
POST
|
Great! Legend.Refreshed is called a bunch of times It's fired each time the legend tree associated to a maplayer changes. So at initialization, it is called once by map layer when the legend tree is ready to be rendered (and the eventargs e.LayerItem allows to retrieve which maplayer legend is just initialized). Then it is fired when the legend tree changes, i.e. when some legend items or legend layers are added/removed/changed. For example when a layer is added/removed , or when a renderer for a feature layer changes. So instead of testing 'Legend.LayerItems.LayerItems != null', you could test 'if (e.LayerItem.Layer.ID == "MyRasterCatalogID") { ... }' and your code should be executed only once. But it's OK as well as you did. It's only for info:)
... View more
11-19-2010
06:35 AM
|
0
|
0
|
1827
|
|
POST
|
Hi Dave, Thanks for your comments. I updated the sample to take care of your remarks and to remove the 'CurrentPageFillSymbol' property (use the 'Selected' state of the 'PageFillSymbol' instead) Thanks.
... View more
11-19-2010
04:04 AM
|
0
|
0
|
2404
|
|
POST
|
Sorry for all the posts about the Legend control... You are welcome. It's nice to get feedbacks before the final. I really like the control Thanks 🙂 I can just get this from "Layer.CopyrightText" in the xaml Right, but this will only work with ArcGISxxxxxLayer. For other layer types (e.g FeatureLayer) it will be null (fallback value) Glad you solved your other issues.
... View more
11-19-2010
04:01 AM
|
0
|
0
|
1153
|
| 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
|