Update externs and ol.HAVE_PROJ4JS for new proj4js API

This commit is contained in:
Andreas Hocevar
2014-07-08 01:01:54 +02:00
parent 971c1137bc
commit dc09b0a27f
2 changed files with 20 additions and 70 deletions

View File

@@ -19,7 +19,7 @@ goog.require('ol.sphere.NORMAL');
* @const
* @type {boolean}
*/
ol.HAVE_PROJ4JS = ol.ENABLE_PROJ4JS && typeof Proj4js == 'object';
ol.HAVE_PROJ4JS = ol.ENABLE_PROJ4JS && typeof proj4 == 'function';
/**