TileSource mode/api refactoring
merge conflict res
Fix #509 OverlayDecorator clipping problems