block by d3noob 5036788

Constrained Zoom Map. Centered on the Pacific

Full Screen

This example is a minor variation on Mike Bostocks zoom constrained map, which demonstrates using the zoom event to constrain the zoom behavior’s translation. However, this version is centered on the anti-meridian (the Pacific).

The centering on a position other thann the prime medidian is accomplished by setting .rotate([-180,0]); as part of the var projection = section.

index.html