Replace goog.getUid with ol.getUid

This commit is contained in:
Peter Robins
2016-07-20 10:50:16 +00:00
parent 29230d48b3
commit f8f2cd11d5
40 changed files with 104 additions and 82 deletions
+1 -1
View File
@@ -60,7 +60,7 @@ ol.style.Fill.prototype.getChecksum = function() {
this.color_ instanceof CanvasPattern ||
this.color_ instanceof CanvasGradient
) {
this.checksum_ = goog.getUid(this.color_).toString();
this.checksum_ = ol.getUid(this.color_).toString();
} else {
this.checksum_ = 'f' + (this.color_ ?
ol.color.asString(this.color_) : '-');
+1 -1
View File
@@ -109,7 +109,7 @@ ol.style.Icon = function(opt_options) {
'imgSize must be set when image is provided');
if ((src === undefined || src.length === 0) && image) {
src = image.src || goog.getUid(image).toString();
src = image.src || ol.getUid(image).toString();
}
goog.asserts.assert(src !== undefined && src.length > 0,
'must provide a defined and non-empty src or image');