Use goog.DEBUG instead of ol.DEBUG for now
This commit is contained in:
@@ -21,7 +21,7 @@ ol.QuadKeyCharCode = {
|
||||
*/
|
||||
ol.tilecoord.createFromString = function(str) {
|
||||
var v = str.split('/');
|
||||
ol.DEBUG && console.assert(v.length === 3,
|
||||
goog.DEBUG && console.assert(v.length === 3,
|
||||
'must provide a string in "z/x/y" format, got "%s"', str);
|
||||
return v.map(function(e) {
|
||||
return parseInt(e, 10);
|
||||
|
||||
Reference in New Issue
Block a user