jsvectormap icon indicating copy to clipboard operation
jsvectormap copied to clipboard

addMarkers() addLines() set wrong coordinates - Version 1.7

Open rodion-sarakuz opened this issue 7 months ago • 1 comments

If init the map without declaring in options: markers: [], lines: [],

that addMarkers() addLines() set wrong coordinates.

Version 1.7

rodion-sarakuz avatar Jun 08 '25 11:06 rodion-sarakuz

@rodion-sarakuz As a workaround, I managed to pass the parameter markers: [] during map initialization. This is related to the following line of code: https://github.com/themustafaomar/jsvectormap/blob/5f771865c3ecbad755ad9248afde0e473e5bf893/packages/jsvectormap/src/js/map.js#L88-L91"**

DiFuks avatar Aug 20 '25 20:08 DiFuks