Super before this in TileJSON source
This commit is contained in:
@@ -53,13 +53,6 @@ class TileJSON extends TileImage {
|
|||||||
* @api
|
* @api
|
||||||
*/
|
*/
|
||||||
constructor(options) {
|
constructor(options) {
|
||||||
|
|
||||||
/**
|
|
||||||
* @type {TileJSON}
|
|
||||||
* @private
|
|
||||||
*/
|
|
||||||
this.tileJSON_ = null;
|
|
||||||
|
|
||||||
super({
|
super({
|
||||||
attributions: options.attributions,
|
attributions: options.attributions,
|
||||||
cacheSize: options.cacheSize,
|
cacheSize: options.cacheSize,
|
||||||
@@ -72,6 +65,13 @@ class TileJSON extends TileImage {
|
|||||||
transition: options.transition
|
transition: options.transition
|
||||||
});
|
});
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @type {TileJSON}
|
||||||
|
* @private
|
||||||
|
*/
|
||||||
|
this.tileJSON_ = null;
|
||||||
|
|
||||||
|
|
||||||
if (options.url) {
|
if (options.url) {
|
||||||
if (options.jsonp) {
|
if (options.jsonp) {
|
||||||
requestJSONP(options.url, this.handleTileJSONResponse.bind(this),
|
requestJSONP(options.url, this.handleTileJSONResponse.bind(this),
|
||||||
|
|||||||
Reference in New Issue
Block a user