Rename ol.Projection.createFromCode to getFromCode

This commit is contained in:
Tom Payne
2012-07-18 23:01:53 +02:00
parent da941562cc
commit 376d75ea4f
4 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ goog.require('ol.tilegrid.createOpenStreetMap');
*/
ol.tilestore.createOpenStreetMap = function() {
var projection = ol.Projection.createFromCode('EPSG:3857');
var projection = ol.Projection.getFromCode('EPSG:3857');
var tileGrid = ol.tilegrid.createOpenStreetMap(18);
var tileUrlFunction = ol.TileUrlFunction.withTileCoordTransform(
function(tileCoord) {