nagvis
nagvis copied to clipboard
Fixed map image preview error
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.