[Geomoose-users] FW: Prevent the user zooming too far in

Fischer, Brian bfischer at houstonengineeringinc.com
Sun Jan 20 21:46:41 EST 2008


Whoops, I should have sent this to the entire list.

 

-Brian

 

________________________________

From: Fischer, Brian 
Sent: Saturday, January 19, 2008 2:07 PM
To: Vojko Daneu
Subject: RE: [Geomoose-users] Prevent the user zooming too far in

 

Vojko,

 

This will be possible in version 1.2, which should be released in a
month or so.  In 1.2 there will be two configuration parameters in the
config.js file.  It will look like this:

 

/*
 * Min/Maxing capability for the Map as a whole.
 * Setting the minscale="" and mapscale="" will set local min/max
displays for those layers.
 */

var MAP_MINSCALE = 0;
var MAP_MAXSCALE = 3500000;

 

Brian Fischer

Houston Engineering, Inc.

Maple Grove, MN

(763) 493-4522

 

 

________________________________

From: geomoose-users-bounces at lists.sourceforge.net
[mailto:geomoose-users-bounces at lists.sourceforge.net] On Behalf Of Vojko
Daneu
Sent: Saturday, January 19, 2008 12:44 PM
To: GeoMOOSE
Subject: [Geomoose-users] Prevent the user zooming too far in

Hallo,

in my GeoMoose application I want to prevent the user from zooming in
too far in. On the page
http://mapserver.gis.umn.edu/docs/reference/mapfile/layer I find the
following definition:

 

    MINSCALE [double] 
    Maximum scale at which this interface is valid (Mapserver
terminology is the opposite of normal terminology for scales). When a
user reuqests a map at a larger scale, MapServer automatically returns
the map at this scale. This effectively prevents the user from zooming
in too far in.

 

I use MINSCALE 150000 in my map file, but instead of returning the map
at this scale (when zooming too far in), the map is not drawn at all.

 

Any idea how to limit the zoom in extent in Geomoose?

 

Best regards

Vojko

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/geomoose-users/attachments/20080120/f236c354/attachment.html


More information about the Geomoose-users mailing list