Skip to content

Conversation

@itsul
Copy link
Contributor

@itsul itsul commented Jan 31, 2023

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.

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant