Improve docs for projection

This commit is contained in:
Peter Robins
2014-07-12 11:21:59 +00:00
parent 046ae42b38
commit 96ec96c4d5
4 changed files with 54 additions and 11 deletions

View File

@@ -42,8 +42,10 @@ var layers = [
];
// A minimal projection object is configured with only the SRS code and the map
// units. No client side coordinate transforms are possible with such a
// projection object.
// units. No client-side coordinate transforms are possible with such a
// projection object. Requesting tiles only needs the code together with a
// tile grid of Cartesian coordinates; it does not matter how those
// coordinates relate to latitude or longitude.
var projection = new ol.proj.Projection({
code: 'EPSG:21781',
units: 'm'