Skip to content

Miller

Type class

Miller projection.

Sources

This information about Miller is provided for reference only and is not available through exported packages and thus should not be imported or used on its own.

Inheritance

Miller extends Projection.

Miller is not extended by any other symbol.

Properties

1 inherited item
d3Projection

Type GeoProjectionInherited from Projection

d3 projection d3 projection

Methods

constructor()

Returns Miller

9 inherited items
convert(geoPoint: IGeoPoint)

Returns IPointInherited from Projection

Converts a geographical point (lat/long) to a screen point (x/y)

distance(pointA: IGeoPoint,
pointB: IGeoPoint
)

Returns numberInherited from Projection

intermediatePoint(pointA: IGeoPoint,
pointB: IGeoPoint,
position: number
)

Returns IGeoPointInherited from Projection

invert(point: IPoint)

Returns IGeoPointInherited from Projection

Converts a screen point (x/y) to a geographical point (lat/long)

multiDistance(multiGeoLine: Array <Array <IGeoPoint>>)

Returns numberInherited from Projection

positionToGeoPoint(multiGeoLine: Array <Array <IGeoPoint>>,
position: number
)

Returns IGeoPointInherited from Projection

Converts relative position along the line (0-1) into pixel coordinates.

positionToPoint(multiGeoLine: Array <Array <IGeoPoint>>,
position: number
)

Returns IOrientationPointInherited from Projection

Converts relative position along the line (0-1) into pixel coordinates.

project(lambda: number,
phi: number
)

Returns IPointInherited from Projection

Deprecated Deprecated

Returns X/Y coordinates.

Individual projections will override this method to apply their own projection logic.

unproject(x: number,
y: number
)

Returns IGeoPointInherited from Projection

Deprecated Deprecated

Returns geographical coordinates (lat/long).

Individual projections will override this method to apply their own projection logic.

Events

Miller does not have any events.