Added local overlay tiles, rendering even if overlay is unavailable#77
Open
amamic1803 wants to merge 6 commits intoTomSchimansky:mainfrom
Open
Added local overlay tiles, rendering even if overlay is unavailable#77amamic1803 wants to merge 6 commits intoTomSchimansky:mainfrom
amamic1803 wants to merge 6 commits intoTomSchimansky:mainfrom
Conversation
Author
|
I fixed zooming with mouse wheel on windows. Before, it would sometimes skip a zoom level, now when scrolling, it must go through all zoom levels. (I only did this in the part of code meant for windows because I don't know how it works on other systems). |
Author
|
When changing window/widget size, minimum zoom level must be increased sometimes to avoid not having enough tiles to fill the screen. It was set to only check width, but I fixed it so it also checks height now as it should. Also when changing window/widget size, even if zoom change isn't needed, map must be redrawn to place top left tile in top left corner, otherwise it would stay at old location and empty tiles would be shown. I fixed that also. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hi,
I've added support for local images as overlay tiles. I also edited that part of code to show map even if overlay tile isn't available for that location. Finally, I added 2 lines to example in README.md to show how local overlays can be used.
I've tested and everything appears to work correctly as I wanted. Don't think I broke anything.
Regards,
Antonio Mamić