Hi. I noticed the event doesnt fire (using primeng 11.3.2). Is it fixed in 11.4.0? Thanks!
<p-gmap #gmap [style]="{'width':'100%','height':'540px'}"
[options]="options" [overlays]="overlays"
(onMapReady)="setMap($event)" (onMapClick)="handleMapClick($event)"
(onOverlayClick)="handleOverlayClick($event)"
(onZoomChanged)="zoomChanged($event)"
(onOverlayDragEnd)="handleDragEnd($event)"></p-gmap>
gmap onzoomchanged not fired
Hi, new day = new round. I've looked at the TS file but couldnt find any errors (it should work!).
I found a workaround ... If I attach a handler myself (which has the same name!) it works ...Strange
setMap(event) {
this.map = event.map;
this.map.addListener("zoom_changed", () => {
this.getMapBounds();
});
}
I found a workaround ... If I attach a handler myself (which has the same name!) it works ...Strange
setMap(event) {
this.map = event.map;
this.map.addListener("zoom_changed", () => {
this.getMapBounds();
});
}
-
- Information
-
Who is online
Users browsing this forum: No registered users and 4 guests