I have custom imagery data being hosted on a local mapserver that covers a very small geographic region. I am using a custom MapTileSource to render the map and I am getting behavior that I don't understand due to my misunderstanding of a few items.
Under what circumstances should I be changing the values for WorldRect? Obviously my extent/bounds is not the entire world.
The "minimap" shows an image of the whole world, is there a way to make it zoom in so that my view box isn't so tiny?
The call to the MapTileSource constructor for the MapQuest example has 134217728? Where does this value come from, should I be changing it for my small geographic region?
How can I have it zoom in by default on my specific region and does this affect the URLs I generate in GetTileLayers? For example, I haven't a clue which Z,X,Y coordinates are needed to view my region from a world perspective.
Thanks,
Kris
Hi Kristopher,
Thank you for your post. I have been looking into your question and I can suggest you look into the following link from our online documentation which explains how to navigate/zoom the map content:
http://help.infragistics.com/Help/Doc/WPF/2014.1/CLR4.0/html/xamGeographicMap_Navigating_Map_Content_Using_Code.html
Let me know, if you need any further assistance on this matter.
That is very helpful in understanding several aspects. Thank you.
I'm still confused with respect to the constructor a custom MapTileSource. Why does the example pass in a value of 134217728 and how do I know if I need to change it? If I do need to change it, what value do I put there?