more information in 2.12.md
This commit is contained in:
@@ -1,4 +1,9 @@
|
||||
# Major enhancements
|
||||
# Major enhancements and additions
|
||||
|
||||
## Zoom Control
|
||||
|
||||
A simple control to add zoom in/out buttons on the map that can be entirely styled using CSS.
|
||||
See it live in this [example](http://openlayers.org/dev/examples/zoom.html).
|
||||
|
||||
## Tile animation
|
||||
|
||||
@@ -20,6 +25,56 @@ People can override this rule to use other transition settings. To remove tile a
|
||||
transition: none;
|
||||
}
|
||||
|
||||
## Builds
|
||||
|
||||
This version of OpenLayers ships with three builds:
|
||||
|
||||
* `OpenLayers.js`
|
||||
* `OpenLayers.light.js`
|
||||
* `OpenLayers.mobile.js`
|
||||
|
||||
See the README.md file and the docs on docs.openlayers.org for more information.
|
||||
|
||||
## Sensible projection defaults
|
||||
|
||||
The geographic and web mercator projections define default values for the maxExtent, and units. This simplifies the map and layer configuration.
|
||||
|
||||
For example, a map that used to be created with this:
|
||||
|
||||
map = new OpenLayers.Map({
|
||||
div: "map",
|
||||
projection: "EPSG:900913",
|
||||
units: "m",
|
||||
maxExtent: new OpenLayers.Bounds(
|
||||
-20037508.34, -20037508.34, 20037508.34, 20037508.34
|
||||
)
|
||||
});
|
||||
|
||||
can now be created with this:
|
||||
|
||||
map = new OpenLayers.Map({
|
||||
div: "map",
|
||||
projection: "EPSG:900913"
|
||||
});
|
||||
|
||||
## Tile Queue
|
||||
|
||||
The tiling code has been overhauled so grid layers now work with tile queues.
|
||||
The tile queue gives more control on the tile requests sent to the tiling
|
||||
services. Tile requests that become useless can be aborted.
|
||||
|
||||
## Tile Canvas
|
||||
|
||||
Image tiles expose an `getCanvasContext` function that can be used for various
|
||||
things, like changing the image pixels, save the image using the File API, etc.
|
||||
See the [osm-grayscale
|
||||
example](http://openlayers.org/dev/examples/osm-grayscale.html).
|
||||
|
||||
## Backbuffer Overhaul
|
||||
|
||||
The backbuffer code (behind `transitionEffect:resize`) has been redesigned and
|
||||
rewritten. This overhaul yields better performance and code simplifications.
|
||||
|
||||
# Behavior Changes from Past Releases
|
||||
|
||||
## GPX API change
|
||||
|
||||
Reference in New Issue
Block a user