Closed fractalbach closed 6 years ago
the translation effect works nicely to keep the middle tile in the center when you zoom-in or zoom-out. But, when you zoom-in, you can't scroll up or left.
https://github.com/fractalbach/TileExperiments/blob/a05e08a678d80e8bb3e10edec7e375417f70425f/index.html#L45-L48
Ideal Solution would allow for the scrolling in all 4 directions, AND the ability to zoom-in/out toward the center. (similar behaviour to google maps)
the translation effect works nicely to keep the middle tile in the center when you zoom-in or zoom-out. But, when you zoom-in, you can't scroll up or left.
https://github.com/fractalbach/TileExperiments/blob/a05e08a678d80e8bb3e10edec7e375417f70425f/index.html#L45-L48
Ideal Solution would allow for the scrolling in all 4 directions, AND the ability to zoom-in/out toward the center. (similar behaviour to google maps)