Setting max extents on the map

Apr 29, 2009 at 9:03 PM
Is there an easy way (that I clearly can't find) to limit the map bounds? For example, I want to limit the user to viewing only a particular country or region.
Coordinator
Apr 29, 2009 at 10:58 PM
We havn't built it in (yet) but the place to do it would be in the TileSource, rather then just assume everything is the whole world we could allow a bounds to be passed to restrict the view.
Its not going to be trival but is possible.

I assume you'd set this on the base layer but I guess it could be a property on the Map itself that passes it on.
John.
Apr 30, 2009 at 1:27 AM
I messed around for a bit with the Min/Max Latitude/Longitude virtual properties in the TileSource, but wasn't able to get it working.

As you suggest, it would need to get passed on from the Map to support switching of tile sources. There were other unexpected side effects of trying to manage it at the TileSource, so I gave up.
Jul 7, 2010 at 1:58 PM

I have the some problem: I need to limit the map bounds. Has been this function implemented in the last release of DeepEarth? Or can someone give me some indication about how to resolve the problem?

Thanks

Claudio

Jul 14, 2010 at 8:59 AM

I have the same requirement

Thanks for suggestions

Giulio