Hi Andres, It looks like using a scales array did the trick.
My values were... scales: [153000000, 77000000, 38000000, 19000000, 10000000, 5000000, 2000000, 1000000, 599000, 300000], Thanks, Jim James B. Meyer Java Programmer Concept Solutions, Inc. (703) 472-7838 [email protected] 11600 Sunrise Valley Drive Suite 300 Reston, VA 20191 -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Andreas Hocevar Sent: Monday, July 20, 2009 3:22 PM To: [email protected] Cc: [email protected] Subject: Re: [OpenLayers-Users] REPEAT QUESTION - How do I prevent my map from zooming out too far? Hi, there are many ways to do that, combine one or more of the options below to achieve the result you need: * set a maxExtent for your base layer * set a maxResolution for the base layer, * configure a resolutions or scales array for your base layer Regards, Andreas. On Mon, Jul 20, 2009 at 9:05 PM, <[email protected]> wrote: > Hi everyone, > > > > I had asked this question originally on June 29, 2009 and didnt receive > a response > > > > Currently when I zoom out to the fullest extent available on the > panzoombar my map shows four copies of the earth. Is there an easy way to > prevent this from happening? > > > > It seems that using a singleTile value set to true will do it. But, > Id prefer to continue to rely upon tiled images. Are there any other ideas > out there? > > > > Thanks, > Jim > > > > James B. Meyer > > Java Programmer > > Concept Solutions, Inc. > > (703) 472-7838 > > [email protected] > > 11600 Sunrise Valley Drive > > Suite 300 > > Reston, VA 20191 > > > > _______________________________________________ > Users mailing list > [email protected] > http://openlayers.org/mailman/listinfo/users > > -- Andreas Hocevar OpenGeo - http://opengeo.org/ Expert service straight from the developers. _______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
