svgmap 2.18.0 → 2.18.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/countries.js +247 -0
- package/assets/create-map-paths.html +1029 -0
- package/assets/localize.html +35 -0
- package/assets/map-optimized.svg +986 -0
- package/dist/index.cjs +4 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +4 -3
- package/dist/index.js.map +1 -1
- package/dist/svg-map.umd.js +4 -3
- package/dist/svg-map.umd.js.map +1 -1
- package/dist/svg-map.umd.min.js +1 -1
- package/dist/svgMap.js +4 -3
- package/dist/svgMap.js.map +1 -1
- package/dist/svgMap.min.js +1 -1
- package/package.json +4 -2
- package/src/js/core/svg-map.js +2348 -0
- package/src/js/index.js +4 -0
- package/src/scss/map.scss +257 -0
- package/src/scss/svg-map.scss +2 -0
- package/src/scss/tooltip.scss +128 -0
- package/src/scss/variables.scss +31 -0
package/dist/index.js
CHANGED
|
@@ -887,13 +887,14 @@ class svgMap {
|
|
|
887
887
|
mapContinentControlsWrapper
|
|
888
888
|
);
|
|
889
889
|
var that = this;
|
|
890
|
-
|
|
890
|
+
|
|
891
|
+
Object.keys(this.continents).forEach(function (item) {
|
|
891
892
|
let element = that.createElement(
|
|
892
893
|
'option',
|
|
893
894
|
'svgMap-continent-option svgMap-continent-iso-' +
|
|
894
|
-
|
|
895
|
+
that.continents[item].iso,
|
|
895
896
|
that['continentSelect'],
|
|
896
|
-
|
|
897
|
+
that.continents[item].name
|
|
897
898
|
);
|
|
898
899
|
element.value = item;
|
|
899
900
|
});
|