Remove unused ol.format.Polyline.encodeSignedInteger function

This commit is contained in:
Frederic Junod
2014-02-27 12:01:14 +01:00
parent 040b954e15
commit c31f70bf08
2 changed files with 11 additions and 23 deletions

View File

@@ -237,18 +237,6 @@ ol.format.Polyline.decodeUnsignedIntegers = function(encoded) {
};
/**
* Encode one single signed integer and return an encoded string
*
* @param {number} num Signed integer that should be encoded.
* @return {string} The encoded string.
*/
ol.format.Polyline.encodeSignedInteger = function(num) {
var signedNum = (num < 0) ? ~(num << 1) : (num << 1);
return ol.format.Polyline.encodeUnsignedInteger(signedNum);
};
/**
* Encode one single unsigned integer and return an encoded string
*