Remove unused ol.tilecoord.createFromString function

This commit is contained in:
Frederic Junod
2016-09-15 16:33:58 +02:00
parent 932269c8b6
commit 000207016f
2 changed files with 0 additions and 27 deletions

View File

@@ -1,22 +1,5 @@
goog.provide('ol.tilecoord');
goog.require('ol');
/**
* @param {string} str String that follows pattern “z/x/y” where x, y and z are
* numbers.
* @return {ol.TileCoord} Tile coord.
*/
ol.tilecoord.createFromString = function(str) {
var v = str.split('/');
ol.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);
});
};
/**
* @param {number} z Z.