Using TImage32
About the documentation
Appearance
TCustomMap.OnResize
Fired when map dimensions change.
property OnResize: TNotifyEvent read FOnResize write FOnResize;
The OnResize event fires after Width or Height dimensions are updated.
OnResize
Width
Height