Re: [OpenLayers-Users] Min Zoom Level

2009-02-21 Thread Warren Vick
[mailto:arnd.wipperm...@web.de] Sent: 20 February 2009 22:42 To: Warren Vick Cc: users@openlayers.org Subject: AW: [OpenLayers-Users] Min Zoom Level Hi, Have a look at http://n2.nabble.com/projections-resolution-extents-td1826696.html. Instead of scales[] you can also use resolutions[]. Arnd

Re: [OpenLayers-Users] Min Zoom Level

2009-02-20 Thread Arnd Wippermann
Gesendet: Donnerstag, 19. Februar 2009 19:35 An: users@openlayers.org Betreff: Re: [OpenLayers-Users] Min Zoom Level I'm still a bit stuck on implementing a minimum zoom level and would appreciate any more feedback. My problem is that my starting point is a bound for any country of the world. So

Re: [OpenLayers-Users] Min Zoom Level

2009-02-19 Thread Warren Vick
as Woltering Cc: users@openlayers.org Subject: Re: [OpenLayers-Users] Min Zoom Level Ah, I see. So, the final part of my question is... what are the scale values for the standard zoom levels in OL? Is it the same as Min/MaxScaleDenominator when rendering TMS tiles? Regards, Warren -Original Me

Re: [OpenLayers-Users] Min Zoom Level

2009-02-12 Thread Warren Vick
February 2009 13:29 To: Warren Vick Cc: users@openlayers.org Subject: Re: [OpenLayers-Users] Min Zoom Level Hi Warren, if you add the PanZoomBar map.addControl(new OpenLayers.Control.PanZoomBar()); you will have as much zoomlevels as you have defined in the scales-section. In the previous example there

Re: [OpenLayers-Users] Min Zoom Level

2009-02-12 Thread Matthias Woltering
; Warren > > -Original Message- > From: Matthias Woltering [mailto:wolter...@gmail.com] > Sent: 12 February 2009 13:00 > To: Warren Vick > Cc: users@openlayers.org > Subject: Re: [OpenLayers-Users] Min Zoom Level > > Hi Warren, > > you can set set the s

Re: [OpenLayers-Users] Min Zoom Level

2009-02-12 Thread Warren Vick
-Original Message- From: Matthias Woltering [mailto:wolter...@gmail.com] Sent: 12 February 2009 13:00 To: Warren Vick Cc: users@openlayers.org Subject: Re: [OpenLayers-Users] Min Zoom Level Hi Warren, you can set set the scales manually like this: var options = { maxExtent: new

Re: [OpenLayers-Users] Min Zoom Level

2009-02-12 Thread Matthias Woltering
Hi Warren, you can set set the scales manually like this: var options = { maxExtent: new OpenLayers.Bounds(143,440,176,466) ,maxResolution: "auto" ,scales: [100,50,25,10,5,25000,1] ,units: 'm' ,projection: 'EPSG:31466' ,controls: [] //,zoom: 1

[OpenLayers-Users] Min Zoom Level

2009-02-12 Thread Warren Vick
How can I set a minimum zoom level for a map? Focussing on a single country, I know how to limit the extent but can't figure out how to stop someone zooming out and seeing TMS tiles that have not been rendered. Regards, Warren ___ Users mailing list Use