feat: add getPin method
This commit is contained in:
Vendored
+5
@@ -44,6 +44,8 @@ namespace DottedMapWithoutCountriesLib {
|
||||
type Point = {
|
||||
x: number;
|
||||
y: number;
|
||||
lat: number;
|
||||
lng: number;
|
||||
data?: any;
|
||||
svgOptions?: SvgOptions;
|
||||
};
|
||||
@@ -55,6 +57,9 @@ export default class DottedMapWithoutCountries {
|
||||
addPin(
|
||||
pin: DottedMapWithoutCountriesLib.Pin,
|
||||
): DottedMapWithoutCountriesLib.Point;
|
||||
getPin(
|
||||
pin: DottedMapWithoutCountriesLib.Pin,
|
||||
): DottedMapWithoutCountriesLib.Point;
|
||||
getPoints(): DottedMapWithoutCountriesLib.Point[];
|
||||
getSVG(settings: DottedMapWithoutCountriesLib.SvgSettings): string;
|
||||
image: {
|
||||
|
||||
Reference in New Issue
Block a user