Hi.
I've been experimenting with developing a MapTileSource for WMS-services and found that the IsImageStreamValid of MapTileSource doesn't seem to be called when using the XamGeographyMap control.
Is this the intended behaviour?
If I use the same custom MapTileSource with the XamMap control it seems to be called for every url added in the overriden GetTileLayers.
The problem seems to be the same as in this post, regarding XamMap for Silverlight:
http://ko.infragistics.com/community/forums/p/65319/332141.aspx#332141
..that is, when the Web Map Service gives an unexpected response (not an image), an exception occurs.
Will a future version of XamGeographyMap use IsImageStreamValid to check the image or is there an other way to handle WMS-services.
Hello Thomas,
I am just checking the progress of this issue and was wondering if you managed to achieve your goal or if you need any further assistance on the matter.
Thank you for your post. I have been looking into it, but it seems like that I am missing something in your scenario, because the XamGeographicMap doesn’t have MapTileSource property. Also I can suggest you see the sample in the Feature Browser under xamGeographicMap / Data / Binding Geo – Imagery section, where it is explained how to change the background of the Geographic Map control to external geospatial imagery services.
Hope this helps you.