[ka-Map-users] How to restrict the map dragging
daniel at ceregatti.org
Fri Feb 24 19:43:38 EST 2006
If I recall correctly, the patch that does this was applied to ka-map
cvs, and even the 0.2 release.
You have to define the "max_extents" metadata in your map file:
"MAX_EXTENTS" "-118.7, 33.65, -118.1, 34.38"
Once that's defined, the out-of bounds dragging is prevented.
ramesh karra wrote:
> How can I restrict the dragging when using ka-Map to
> just the map that is being viewed and not beyond it.
> For example, the map at
> can be dragged beyond canada
> where as the map at
> cannot be dragged beyond LA
> How can I control this?
> Thanks in advance
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> ka-Map-users mailing list
> ka-Map-users at lists.maptools.org
More information about the ka-Map-users