Rename ol.reader to ol.format

This commit is contained in:
Tom Payne
2013-11-08 19:57:27 +01:00
parent 8aa6eb5cb7
commit 979d35b3b3
4 changed files with 34 additions and 34 deletions

View File

@@ -1,9 +1,9 @@
goog.require('ol.Map');
goog.require('ol.RendererHint');
goog.require('ol.View2D');
goog.require('ol.format.GeoJSON');
goog.require('ol.layer.Tile');
goog.require('ol.layer.Vector');
goog.require('ol.reader.GeoJSON');
goog.require('ol.source.OSM');
goog.require('ol.source.Vector');
goog.require('ol.style.DefaultStyleFunction');
@@ -31,7 +31,7 @@ var styleFunction = function(feature) {
};
var vectorSource = new ol.source.Vector();
ol.reader.GeoJSON.readObject({
ol.format.GeoJSON.readObject({
'type': 'FeatureCollection',
'features': [
{