euzuro f582775d11 - Removed unnecessary accessors from OpenLayers.Layer: getProjection(),
getMaxExtent(), getMaxResolution(), and getNumZoomLevels(). They were just 
   wrapping around the properties. better to just access the property directly. 
   Needed to update for these removals in many different files. 

- Improved initResolutions() functionality. It is now I believe both thorough
   and complete. The only exception is that we should maybe allow a way for 
   the user to set up resolutions[] array using only minResolution and 
   numZoomLevels instead of only maxResolution and numZoomLevels... but I'm not
   really sure anyone would ever really want to use that. And at any rate, I
   don't know the math for how to do it. I'm sure schuyler or Dr. 5 would.
   Oh. for a summary of how initResolutions works, see:
   http://trac.openlayers.org/wiki/SettingZoomLevels

- Move getResolution(), initResolutions() out of HTTPRequest and into Layer. On 
   thinking this through (and trying to write documentation), I realized that 
   the real, true, GENERIC case for a layer will be using this awesome 
   resolutions[] array that allows for setting number of zoom levels, default 
   max resolutions, special scale arrays, etc. 

- Updated code for getZoomForExtent() to work with resolutions[] array, instead 
   of using the the log 2 equation. 

- Move standard getZoomForExtent() and getExtent() out of Grid and into 
   Layer. Like above, there is no reason for these methods to be found so far
   down in the food chain. They are part of the generic calculations for 
   generic layers, so they belong in Layer. 



git-svn-id: http://svn.openlayers.org/trunk/openlayers@1379 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-08-26 02:51:38 +00:00
2006-08-25 18:17:06 +00:00
2006-08-25 18:17:06 +00:00
2006-08-25 18:17:06 +00:00
2006-08-25 18:17:06 +00:00
2006-08-25 18:17:06 +00:00

OpenLayers
-=-=-=-=-=-
Copyright (c) 2005-2006 MetaCarta, Inc.

OpenLayers is a JavaScript library for building map applications
on the web. OpenLayers is made available under a BSD-license.
Please see license.txt in this distribution for more details.

------------------
Getting OpenLayers
------------------

OpenLayers lives at http://www.openlayers.org/.

You can get OpenLayers from
    http://trac.openlayers.org/wiki/HowToDownload.

---------------------
Installing OpenLayers
---------------------

You can use OpenLayers as-is by copying build/OpenLayers.js and the
entire lib/ directory up to your webserver, putting them in the same
directory. To include the OpenLayers library in your web page, use:

  <script type="text/javascript" src="OpenLayers.js" />

If you want to use the multiple-file version of OpenLayers (for, say,
debugging or development purposes), copy the lib/ directory up to your
webserver in the same directory you put the img/ folder. Then add
the following to your web page instead:

  <script type="text/javascript" src="lib/OpenLayers.js" />

------------------------------------
Using OpenLayers in Your Own Website
------------------------------------

The examples/ directory is full of useful examples.

Dcumentation is available in the doc/ directory: to build an HTML version
of the documentation, run ./docs.sh in the build/ directory.

Information on changes in the API is available in news.txt.

--------------------------
Contributing to OpenLayers
--------------------------

Please join the email lists at http://openlayers.org/EmailLists/.
Patches are welcome!

= 30 =
Description
Languages
JavaScript 99%
CSS 0.6%
Handlebars 0.3%
Shell 0.1%