Is it possible (or will it be) to use a WMS as MapTileSource?
I got started on this one by looking at the source for the other map tile sources (like openstreetmap). I have created my own map tile source by deriving a class from MapTileSource and implementing the GetTileLayers method. I now am able to use a wms as background map.
However it would be nice with some explanation on the GetTileLayers parameters, and how they relate to the parameters used when initializing the base MapTileSource (using New(imageWidth, imageHeight, tileWidth, tileHeight, tileOverlap)).
Is there any documentation available on this?
Hello Mikael,
I am really glad you manage to resolve your issue and use wms as background of the XamMap. Regarding your second question our MapTileSoruce inherits the Microsoft’s MiltiScaleTileSource, this is why I can suggest you check the following link from msdn for the meaning of the parameters in the shown constructor:
http://msdn.microsoft.com/en-us/library/cc672394(v=vs.95).aspx
http://msdn.microsoft.com/en-us/library/system.windows.media.multiscaletilesource.gettilelayers(v=vs.95).aspx
If you have any further questions or concerns on this matter, please feel free to ask.
Elena, thanks for your reply.
I found the documentation and other information needed from the direction you pointed me in. It now works perfectly using wms sources as background map in our application.
Best regards,
Mikael