svgmap 2.12.2 → 2.13.0
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/README.md +2 -0
- package/demo/es6/package-lock.json +1888 -875
- package/demo/es6/package.json +1 -1
- package/demo/html/index.html +1 -0
- package/demo/react/app/package-lock.json +10805 -5762
- package/demo/react/app/package.json +1 -1
- package/dist/svgMap.css +3 -0
- package/dist/svgMap.js +21 -5
- package/dist/svgMap.min.css +1 -1
- package/dist/svgMap.min.js +1 -1
- package/package.json +8 -8
- package/src/js/svgMap.js +21 -5
- package/src/scss/map.scss +4 -0
- package/src/scss/variables.scss +1 -1
package/README.md
CHANGED
|
@@ -77,6 +77,8 @@ You can pass the following options into svgMap:
|
|
|
77
77
|
| Option | Type | Default | |
|
|
78
78
|
|----------------------------------------------------------------|----------------------|-----------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
|
79
79
|
| `targetElementID` | `string` | | The ID of the element where the world map will render (Required) |
|
|
80
|
+
| `allowInteraction` | `boolean` | `true` | Allow users to zoom and pan around the map
|
|
81
|
+
|
|
80
82
|
| `minZoom` | `float` | `1` | Minimal zoom level |
|
|
81
83
|
| `maxZoom` | `float` | `25` | Maximal zoom level |
|
|
82
84
|
| `initialZoom` | `float` | `1.06` | Initial zoom level |
|