I'd like to zoom (and out) on a canvas line drawing by "panning" an area, then zoom in?
Is this doable?
I'm starting off displaying a large map, but I then want the feature of being able to zoom in on a particular spot on the map which will then display more detail.
I've located a method of applying a enlarge "factor" to my coordinates by using the canvas's bbox and scale methods, but I was wondering if there's another easier way.
Is this doable?
I'm starting off displaying a large map, but I then want the feature of being able to zoom in on a particular spot on the map which will then display more detail.
I've located a method of applying a enlarge "factor" to my coordinates by using the canvas's bbox and scale methods, but I was wondering if there's another easier way.