annotation: fixed error on annotation insertion in impress

Signed-off-by: Pranam Lashkari <lpranam@collabora.com>
Change-Id: Id12b3e422fcb7970241535345f3e90271ede42eb
This commit is contained in:
Pranam Lashkari 2021-03-10 15:51:39 +05:30 committed by Pranam Lashkari
parent a1134c8cd9
commit e3fa8bafcd

View file

@ -426,7 +426,7 @@ L.AnnotationManagerImpress = L.AnnotationManagerBase.extend({
} }
if (bounds) { if (bounds) {
if (!this._scrollAnnotation) { if (!this._scrollAnnotation) {
this._scrollAnnotation = L.control.ScrollAnnotation(); this._scrollAnnotation = L.control.scrollannotation();
this._scrollAnnotation.addTo(this._map); this._scrollAnnotation.addTo(this._map);
} }
} else if (this._scrollAnnotation) { } else if (this._scrollAnnotation) {