mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-31 03:02:04 +08:00
Merge pull request #19794 from Ledragon/master
Update d3-geo to version 1.7.1
This commit is contained in:
@@ -326,6 +326,7 @@ const mercatorRaw: d3Geo.GeoRawProjection = d3Geo.geoMercatorRaw();
|
||||
const orthographicRaw: d3Geo.GeoRawProjection = d3Geo.geoOrthographicRaw();
|
||||
const stereographicRaw: d3Geo.GeoRawProjection = d3Geo.geoStereographicRaw();
|
||||
const transverseMercatorRaw: d3Geo.GeoRawProjection = d3Geo.geoTransverseMercatorRaw();
|
||||
const naturalEart1Raw: d3Geo.GeoRawProjection = d3Geo.geoNaturalEarth1Raw();
|
||||
|
||||
// Use Raw Projection =====================================================
|
||||
|
||||
@@ -351,6 +352,7 @@ const mercator: d3Geo.GeoProjection = d3Geo.geoMercator();
|
||||
const orthographic: d3Geo.GeoProjection = d3Geo.geoOrthographic();
|
||||
const stereographic: d3Geo.GeoProjection = d3Geo.geoStereographic();
|
||||
const transverseMercator: d3Geo.GeoProjection = d3Geo.geoTransverseMercator();
|
||||
const natualEarth1: d3Geo.GeoProjection = d3Geo.geoNaturalEarth1();
|
||||
|
||||
// ----------------------------------------------------------------------
|
||||
// Create New Projections
|
||||
|
||||
14
types/d3-geo/index.d.ts
vendored
14
types/d3-geo/index.d.ts
vendored
@@ -1,9 +1,9 @@
|
||||
// Type definitions for D3JS d3-geo module 1.6
|
||||
// Type definitions for D3JS d3-geo module 1.7
|
||||
// Project: https://github.com/d3/d3-geo/
|
||||
// Definitions by: Hugues Stefanski <https://github.com/Ledragon>, Tom Wanzek <https://github.com/tomwanzek>, Alex Ford <https://github.com/gustavderdrache>, Boris Yankov <https://github.com/borisyankov>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
// Last module patch version validated against: 1.6.1
|
||||
// Last module patch version validated against: 1.7.1
|
||||
|
||||
import * as GeoJSON from 'geojson';
|
||||
|
||||
@@ -1314,6 +1314,16 @@ export function geoTransverseMercator(): GeoProjection;
|
||||
*/
|
||||
export function geoTransverseMercatorRaw(): GeoRawProjection;
|
||||
|
||||
/**
|
||||
* The Natural Earth projection is a pseudocylindrical projection designed by Tom Patterson. It is neither conformal nor equal-area, but appealing to the eye for small-scale maps of the whole world.
|
||||
*/
|
||||
export function geoNaturalEarth1(): GeoProjection;
|
||||
|
||||
/**
|
||||
* The raw pseudo-cylindircal Natural Earth projection.
|
||||
*/
|
||||
export function geoNaturalEarth1Raw(): GeoRawProjection;
|
||||
|
||||
// ----------------------------------------------------------------------
|
||||
// Projection Transforms
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user