Prevent user from panning out of a certain area

Pascal Ehlert dadark at DADARK.DE
Thu Jun 21 13:35:20 EDT 2007


Hi list!

I'm currently working on a Map of Mozambique using MapServer CGI.
Because a map which shows only one country looks rather strange I also 
added the surrounding countries and the whole African
continent respectively.
Anyway, Mozambique itself is still the only country of interest and I 
would like to prevent the users from panning anywhere
and getting lost somewhere in Nicaragua or whatever ;-)

The new version of my map uses OpenLayers and TileCache and it was 
rather easy to implement it there,
but if possible I'd like to hear a solution for the plain CGI version, too.



Thank you

Pascal



More information about the mapserver-users mailing list