fix: release 2.2.2
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "dotted-map",
|
||||
"version": "2.2.1",
|
||||
"version": "2.2.2",
|
||||
"description": "Create a SVG map filled with dots for the world or countries",
|
||||
"main": "./index.js",
|
||||
"exports": {
|
||||
|
||||
@@ -20,7 +20,7 @@ function DottedMapWithoutCountries({ map, avoidOuterPins = false }) {
|
||||
const pin = this.getPin({ lat, lng });
|
||||
const point = { ...pin, data, svgOptions };
|
||||
|
||||
points[[x, y].join(';')] = point;
|
||||
points[[point.x, point.y].join(';')] = point;
|
||||
|
||||
return point;
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user