ol3 is now internal, ol is now external

As discussed with @ahocevar, @elemoine and @tschaub.
This commit is contained in:
Tom Payne
2012-08-29 19:53:46 +02:00
parent 1eddf91996
commit 4aff22e980
116 changed files with 3953 additions and 3939 deletions

View File

@@ -1,14 +1,14 @@
goog.require('goog.dom');
goog.require('ol.Coordinate');
goog.require('ol.Projection');
goog.require('ol3.Coordinate');
goog.require('ol3.Projection');
var outputElement = document.getElementById('output');
var point, transformedPoint;
point = new ol.Coordinate(-626172.13571216376, 6887893.4928337997);
transformedPoint = ol.Projection.transformWithCodes(
point = new ol3.Coordinate(-626172.13571216376, 6887893.4928337997);
transformedPoint = ol3.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 ol.Coordinate(7.439583333333333, 46.95240555555556);
transformedPoint = ol.Projection.transformWithCodes(
point = new ol3.Coordinate(7.439583333333333, 46.95240555555556);
transformedPoint = ol3.Projection.transformWithCodes(
point, 'EPSG:4326', 'EPSG:21781');
outputElement.appendChild(goog.dom.createTextNode(transformedPoint.toString()));