LazMapViewer: Fix ZoomOnObj and ZoomOnArea methods to fire the OnZoomChange event. Issue #39125.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9757 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
parent
d05c8268ba
commit
30ce9cecd6
@ -1626,6 +1626,11 @@ begin
|
||||
until (tmpWin.Zoom = 2);
|
||||
MapWin := tmpWin;
|
||||
Redraw(MapWin);
|
||||
|
||||
if Assigned(OnZoomChange) then
|
||||
OnZoomChange(Self);
|
||||
if Assigned(OnChange) then
|
||||
OnChange(Self);
|
||||
end;
|
||||
|
||||
procedure TMapViewerEngine.CopyMapWindowFrom(AEngine: TMapViewerEngine);
|
||||
|
Loading…
Reference in New Issue
Block a user