Update to use the documented Proj4js 2.2.x API

This commit is contained in:
Andreas Hocevar
2014-07-08 22:33:21 +02:00
parent a22d7e4d22
commit 90c745006d
8 changed files with 12 additions and 11 deletions

View File

@@ -6,7 +6,7 @@ describe('ol.format.WFS', function() {
var features, feature;
before(function(done) {
proj4.defs['urn:x-ogc:def:crs:EPSG:4326'] = proj4.defs['EPSG:4326'];
proj4.defs('urn:x-ogc:def:crs:EPSG:4326', proj4.defs('EPSG:4326'));
afterLoadText('spec/ol/format/wfs/topp-states-wfs.xml', function(xml) {
try {
var config = {