All examples By author By category About

flacoman91

Rolling pan and zoom with Mercator projection

Example illustrating zoom and pan with a "rolling" Mercator projection. Drag left-right to rotate projection cylinder, and up-down to translate, clamped by max absolute latitude. Ensures projection always fits properly in viewbox.

forked from patricksurry's block: Rolling pan and zoom with Mercator projection