nagvis icon indicating copy to clipboard operation
nagvis copied to clipboard

Fixed map image preview error

Open itsul opened this issue 1 year ago • 0 comments

When using a Map Background image the overview Thumbnail is generating an error: "nagvis Map error: Implicit conversion from float 22.06451653463125235 to int loses precision" because the php function imagecopyresampled can only work with int. We fixed it by using the round() function in the calculation in the createThumbnail function.

itsul avatar Jan 31 '23 15:01 itsul