mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Changed parameter type to allow 'GeoJSON.Feature' objects in 'polyline'.
This commit is contained in:
Vendored
-1
@@ -44,7 +44,6 @@ declare module GeoJSON {
|
||||
*/
|
||||
export interface MultiPoint extends GeometryObject
|
||||
{
|
||||
|
||||
coordinates: Position[]
|
||||
}
|
||||
|
||||
|
||||
Vendored
+1
-1
@@ -8,7 +8,7 @@
|
||||
interface Polyline {
|
||||
decode(string: string, precision?: number): number[][];
|
||||
encode(coordinate: number[][], precision?: number): string;
|
||||
fromGeoJSON(geojson: GeoJSON.GeoJsonObject, precision?: number): string;
|
||||
fromGeoJSON(geojson: GeoJSON.LineString | GeoJSON.Feature, precision?: number): string;
|
||||
}
|
||||
|
||||
declare var polyline: Polyline;
|
||||
|
||||
Reference in New Issue
Block a user