> I am using EPSG:2193 (OpenLayers.Bounds(983515.7211, 4728776.8709, > 2117458.3527, 6223676.2306)) and I am trying to work out my maxResolution. > I have searched around a bit and found very good examples of what it is and > why it important but no direct example of how to calculate it.
Simple: Take your map's "size" in map units, and divide by the number of tiles you want to represent that "entire world". Example: 983515.7211 - 2117458.3527 = 2117458.3527 Example: 4728776.8709 - 6223676.2306 = 1494899.3597 I would pick the larger, 2117458.3527. So, this would fit the entire world into a single 256x256 tile: 2117458.3527 / 256 = 8271.321690234375 If you'd rather your largest "whole world" map scale take up 3x3 tiles, divide by 768 (3*256) instead. -- Gregor Mosheh / Greg Allensworth BS, A+, Network+, Security+, Server+ System Administrator, Lead Programmer HostGIS development & hosting services, http://www.HostGIS.com/ "Remember that no one cares if you can back up, only if you can restore." - AMANDA _______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
