Expose a new export: without-countries

This commit is contained in:
Basile Bruneau
2021-04-23 23:42:01 +02:00
committed by Basile Bruneau
parent a6873175d3
commit 571696b296
11 changed files with 425 additions and 242 deletions
Vendored
+6 -1
View File
@@ -4,12 +4,15 @@ namespace DottedMapLib {
lng: { min: number; max: number };
}
interface Settings {
interface MapSettings {
height?: number;
width?: number;
countries?: string[];
region?: Region;
grid?: 'vertical' | 'diagonal';
}
interface Settings extends MapSettings {
avoidOuterPins?: false | true;
}
@@ -40,6 +43,8 @@ namespace DottedMapLib {
};
}
export const getMapJSON: (settings: DottedMapLib.MapSettings) => string;
export default class DottedMap {
constructor(settings: DottedMapLib.Settings);