foldkit-viz - v0.15.0
    Preparing search index...

    Variable geoMercatorConst

    geoMercator: (
        config?: { scale?: number; translate?: readonly [number, number] },
    ) => ProjectionObject = ...

    Mercator — conformal cylindrical, preserves shapes. The poles are infinitely far away, so, as d3-geo does, the map stops at a square extent of ±π around its centre (about ±85.05° latitude): y is held there, and a line to a pole ends at the edge. Source: https://github.com/d3/d3-geo/blob/main/src/projection/mercator.js (reclip)

    Type Declaration

      • (
            config?: { scale?: number; translate?: readonly [number, number] },
        ): ProjectionObject
      • Parameters

        • config: { scale?: number; translate?: readonly [number, number] } = {}

        Returns ProjectionObject