[Geomoose-users] Initial and Max Extent

Johnson, Jeremy JJohnson at ci.blaine.mn.us
Tue Dec 21 14:15:42 EST 2010


Perfect Len.  Thank you so much.  Worked perfectly.
 
Jeremy Johnson, GISP
City of Blaine
 

________________________________

From: Len Kne [mailto:lkne at houstoneng.com] 
Sent: Tuesday, December 21, 2010 12:42 PM
To: Johnson, Jeremy; geomoose-users at lists.sourceforge.net
Subject: RE: Initial and Max Extent



Here's the trick I use in the Mapbook to take care of this:

 

<!-- A trick because the ful extent has to be bigger than what we want
to show to get the met council tiles, so make full extent call initial
extent instead

                                <tool name="fullextent" title="Zoom to
Full Extent" type="internal" action="fullextent" selectable="false"/>
-->

                                <tool name="fullextent" title="Zoom to
Initial Extent" type="javascript" selectable="false" >

 
Map.zoomToExtent(OpenLayers.Bounds.fromArray(CONFIGURATION.initial_exten
t));

                                </tool>

 

This will allow you to increase the fullextent and have the "zoom to
full extent" tool use the initial extent.

 

Len

 

From: Johnson, Jeremy [mailto:JJohnson at ci.blaine.mn.us] 
Sent: Tuesday, December 21, 2010 11:15 AM
To: geomoose-users at lists.sourceforge.net
Subject: [Geomoose-users] Initial and Max Extent

 

In changing my MAX_EXTENT in the mapbook, it seems to also be limiting
the amount data sent from Met Council Base Map.  I would like to have
that base layer image stretch beyond my initial extent, but I want my
max_extent to be equal to my inital extent.  Make sense?  

 

Jeremy Johnson, GISP

G.I.S. Coordinator

City of Blaine

10801 Town Square Dr Ne

Blaine, MN  55449

(763) 717-2639

 

 

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


More information about the Geomoose-users mailing list