fitProjection
fitProjection<
P>(projection,object,width,height):P
Defined in: geo/project.ts:16
Fit a d3 projection so object’s bounds fill a width x height viewport. Mutates + returns it.
Type Parameters
Section titled “Type Parameters”P extends GeoProjection
Parameters
Section titled “Parameters”projection
Section titled “projection”P
object
Section titled “object”number
height
Section titled “height”number
Returns
Section titled “Returns”P