File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
packages/jsvectormap/src/js Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -15,9 +15,9 @@ import DataVisualization from './dataVisualization'
1515
1616const JVM_PREFIX = 'jvm-'
1717const CONTAINER_CLASS = `${ JVM_PREFIX } container`
18- const MARKERS_GROUP_CLASS = `${ JVM_PREFIX } markers-group`
19- const MARKERS_LABELS_GROUP_CLASS = `${ JVM_PREFIX } markers-labels-group`
20- const LINES_GROUP_CLASS = `${ JVM_PREFIX } lines-group`
18+ const MARKERS_GROUP_ID = `${ JVM_PREFIX } markers-group`
19+ const MARKERS_LABELS_GROUP_ID = `${ JVM_PREFIX } markers-labels-group`
20+ const LINES_GROUP_ID = `${ JVM_PREFIX } lines-group`
2121const SERIES_CONTAINER_CLASS = `${ JVM_PREFIX } series-container`
2222const SERIES_CONTAINER_H_CLASS = `${ SERIES_CONTAINER_CLASS } ${ JVM_PREFIX } series-h`
2323const SERIES_CONTAINER_V_CLASS = `${ SERIES_CONTAINER_CLASS } ${ JVM_PREFIX } series-v`
@@ -82,12 +82,12 @@ class Map {
8282 // Lines group must be created before markers
8383 // Otherwise the lines will be drawn on top of the markers.
8484 if ( options . lines . elements ) {
85- this . _linesGroup = this . canvas . createGroup ( LINES_GROUP_CLASS )
85+ this . _linesGroup = this . canvas . createGroup ( LINES_GROUP_ID )
8686 }
8787
8888 if ( options . markers ) {
89- this . _markersGroup = this . canvas . createGroup ( MARKERS_GROUP_CLASS )
90- this . _markerLabelsGroup = this . canvas . createGroup ( MARKERS_LABELS_GROUP_CLASS )
89+ this . _markersGroup = this . canvas . createGroup ( MARKERS_GROUP_ID )
90+ this . _markerLabelsGroup = this . canvas . createGroup ( MARKERS_LABELS_GROUP_ID )
9191 }
9292
9393 // Create markers
You can’t perform that action at this time.
0 commit comments