|
|
@ -78,8 +78,6 @@ export class TbImageMap extends TbMap<ImageMapSettings> { |
|
|
this.onResize(true); |
|
|
this.onResize(true); |
|
|
} else { |
|
|
} else { |
|
|
this.onResize(); |
|
|
this.onResize(); |
|
|
this.initMapSubject.next(this.map); |
|
|
|
|
|
this.initMapSubject.complete(); |
|
|
|
|
|
} |
|
|
} |
|
|
}); |
|
|
}); |
|
|
return this.initMapSubject.asObservable(); |
|
|
return this.initMapSubject.asObservable(); |
|
|
@ -222,6 +220,8 @@ export class TbImageMap extends TbMap<ImageMapSettings> { |
|
|
attributionControl: false |
|
|
attributionControl: false |
|
|
}); |
|
|
}); |
|
|
this.updateMaxBounds(updateImage); |
|
|
this.updateMaxBounds(updateImage); |
|
|
|
|
|
this.initMapSubject.next(this.map); |
|
|
|
|
|
this.initMapSubject.complete(); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|