s/ol3/ol/

This commit is contained in:
Tom Payne
2012-09-24 14:21:41 +02:00
parent 6737220b83
commit f8c31ba45c
112 changed files with 3755 additions and 3755 deletions

View File

@@ -1,14 +1,14 @@
goog.require('goog.dom');
goog.require('ol3.Coordinate');
goog.require('ol3.Projection');
goog.require('ol.Coordinate');
goog.require('ol.Projection');
var outputElement = document.getElementById('output');
var point, transformedPoint;
point = new ol3.Coordinate(-626172.13571216376, 6887893.4928337997);
transformedPoint = ol3.Projection.transformWithCodes(
point = new ol.Coordinate(-626172.13571216376, 6887893.4928337997);
transformedPoint = ol.Projection.transformWithCodes(
point, 'GOOGLE', 'WGS84');
outputElement.appendChild(goog.dom.createTextNode(transformedPoint.toString()));
@@ -17,7 +17,7 @@ Proj4js.defs['EPSG:21781'] =
'+x_0=600000 +y_0=200000 +ellps=bessel ' +
'+towgs84=674.374,15.056,405.346,0,0,0,0 +units=m +no_defs';
point = new ol3.Coordinate(7.439583333333333, 46.95240555555556);
transformedPoint = ol3.Projection.transformWithCodes(
point = new ol.Coordinate(7.439583333333333, 46.95240555555556);
transformedPoint = ol.Projection.transformWithCodes(
point, 'EPSG:4326', 'EPSG:21781');
outputElement.appendChild(goog.dom.createTextNode(transformedPoint.toString()));