Use a unique key for all tile classes
This commit is contained in:
@@ -63,6 +63,8 @@ class VectorTile extends Tile {
|
||||
* @type {string}
|
||||
*/
|
||||
this.url_ = src;
|
||||
|
||||
this.key = src;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -83,13 +85,6 @@ class VectorTile extends Tile {
|
||||
return this.features_;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return {string} Key.
|
||||
*/
|
||||
getKey() {
|
||||
return this.url_;
|
||||
}
|
||||
|
||||
/**
|
||||
* Load not yet loaded URI.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user