fix: ignore test.js
This commit is contained in:
+2
-1
@@ -1,2 +1,3 @@
|
|||||||
node_modules/
|
node_modules/
|
||||||
*.svg
|
*.svg
|
||||||
|
test.js
|
||||||
@@ -1,9 +0,0 @@
|
|||||||
const DottedMap = require('./index.js');
|
|
||||||
|
|
||||||
const map = new DottedMap({ height: 100, grid: 'diagonal' });
|
|
||||||
|
|
||||||
const pinColor = '#D6FF79';
|
|
||||||
|
|
||||||
map.addPin({ lat: 48.85, lng: 2.35, svgOptions: { color: pinColor, radius: 0.22 } });
|
|
||||||
|
|
||||||
console.log(map.getSVG({ radius: 0.22, color: '#423B38', shape: 'circle', backgroundColor: '020300' }));
|
|
||||||
Reference in New Issue
Block a user