Work with new ol.projection package

This commit is contained in:
Tim Schaub
2013-03-03 16:09:00 +01:00
parent 5a73529da5
commit d3c4869917
4 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -2,13 +2,13 @@ goog.require('ol.Collection');
goog.require('ol.Coordinate');
goog.require('ol.Feature');
goog.require('ol.Map');
goog.require('ol.Projection');
goog.require('ol.RendererHint');
goog.require('ol.View2D');
goog.require('ol.geom.LineString');
goog.require('ol.geom.Point');
goog.require('ol.layer.TileLayer');
goog.require('ol.layer.Vector');
goog.require('ol.projection');
goog.require('ol.source.MapQuestOpenAerial');
goog.require('ol.source.Vector');
@@ -18,7 +18,7 @@ var raster = new ol.layer.TileLayer({
});
var source = new ol.source.Vector({
projection: ol.Projection.getFromCode('EPSG:3857')
projection: ol.projection.getFromCode('EPSG:3857')
});
source.addFeatures([