• Mike Bostock's avatar
    Automatic clipExtent determination for mercator. · 91d35b42
    Mike Bostock authored
    Since 3.1, the Mercator projection does not clamp y-values. For rendering
    latitudes near the pole, the y-values can approach infinity. Rather than
    clamping each point in the projection, d3.geo.mercator now sets the clipExtent
    automatically (if not overridden) using the projection's scale and translate.