Fixed overlay example to work with restructured GeoLayers.

This commit is contained in:
2019-11-05 11:23:18 +01:00
parent 87727d28b9
commit 0a30712e31
7 changed files with 17 additions and 22 deletions
-3
View File
@@ -148,7 +148,6 @@ export class GeoMap {
* @param {ScatterEvent}[e] - Contains informations on how the element was transformed.
*/
transformed(e) {
console.log(this.name)
this.onTransform.call(this, e)
}
@@ -362,7 +361,6 @@ export class GeoMap {
y: frame.height / 2
}
console.log(frame)
frame.center = {
x: frame.x + frame.localCenter.x,
y: frame.y + frame.localCenter.y
@@ -913,7 +911,6 @@ export class ImageMap extends GeoMap {
get zoomFactor() {
let factor = this.baseZoomHeight / this.sprite.texture.height
console.log(factor)
return factor
}
}