[OSGeo Africa] OpenLayers users

Andrew de Klerk andrew at quartex.co.za
Wed Jul 22 04:48:46 EDT 2009


Yep - it all amounts to how you set your zoom levels in openlayers:

http://trac.openlayers.org/wiki/SettingZoomLevels provides a good guide. 

We have used the following in the past:

		var options = { maxResolution: "auto",
		'projection':'EPSG:4148', 
        maxExtent: new OpenLayers.Bounds(15,-35,33,-21),
        minResolution: 0.000003
        };

-----Original Message-----
From: africa-bounces at lists.osgeo.org [mailto:africa-bounces at lists.osgeo.org]
On Behalf Of tim at linfiniti.com
Sent: 22 July 2009 10:08 AM
To: Africa local chapter discussions
Subject: Re: [OSGeo Africa] OpenLayers users

Hi Clinton

Off the top of my head I believe you can just leave out the max resution
option completely and openlayers will by default use a useable value. I can
verify this later when I get back to a computer...


Regards

Tim
Sent via my BlackBerry from Vodacom - let your email find you!

-----Original Message-----
From: Clinton Papenfus <clinton.papenfus at sita.co.za>

Date: Wed, 22 Jul 2009 09:47:51 
To: Africa local chapter discussions<africa at lists.osgeo.org>
Subject: Re: [OSGeo Africa] OpenLayers users


_______________________________________________
Africa mailing list
Africa at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/africa


_______________________________________________
Africa mailing list
Africa at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/africa
Checked by AVG - www.avg.com 
Version: 8.5.392 / Virus Database: 270.13.17/2242 - Release Date: 07/21/09
18:02:00



More information about the Africa mailing list