forked from moagrius/TileView
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Borders and markers improvement (moagrius#466)
* Added support for extra borders around the tile image making it possible to scroll past the edge while zoomed in. Added support for anchoring markers with both relative and absolute anchor positions. * Added support for extra borders around the tile image making it possible to scroll past the edge while zoomed in. Added support for anchoring markers with both relative and absolute anchor positions. * Removed MarkerLayout anchor behaviour flags and replaced them with a system containing both relative and absolute anchors for each marker. Renamed the setExtraBorder function in ZoomPanLayout to setImagePadding and also renamed the variables to fit. Image padding is now pre-calculated instead of having to calculate it during use. TileView was updated to work with the MarkerLayout changes. * Removed unused flags.
- Loading branch information
Showing
3 changed files
with
93 additions
and
10 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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