@abi-software/flatmap-viewer 2.2.13 → 2.2.14-b.1
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.rst +1 -1
- package/package.json +2 -2
- package/src/interactions.js +2 -2
package/README.rst
CHANGED
|
@@ -38,7 +38,7 @@ The map server endpoint is specified as ``MAP_ENDPOINT`` in ``src/main.js``. It
|
|
|
38
38
|
Package Installation
|
|
39
39
|
====================
|
|
40
40
|
|
|
41
|
-
* ``npm install @abi-software/flatmap-viewer@2.2.
|
|
41
|
+
* ``npm install @abi-software/flatmap-viewer@2.2.14-b.1``
|
|
42
42
|
|
|
43
43
|
Documentation
|
|
44
44
|
-------------
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abi-software/flatmap-viewer",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.14-b.1",
|
|
4
4
|
"description": "Flatmap viewer using Maplibre GL",
|
|
5
5
|
"repository": "https://github.com/AnatomicMaps/flatmap-viewer.git",
|
|
6
6
|
"main": "src/main.js",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"css-loader": "^6.5.1",
|
|
39
39
|
"eslint": "^8.7.0",
|
|
40
40
|
"express": "^4.17.1",
|
|
41
|
-
"html-webpack-plugin": "^4.5.
|
|
41
|
+
"html-webpack-plugin": "^4.5.2",
|
|
42
42
|
"strip-ansi": "^7.0.1",
|
|
43
43
|
"style-loader": "^1.0.0",
|
|
44
44
|
"url-loader": "^4.1.0",
|
package/src/interactions.js
CHANGED
|
@@ -274,9 +274,9 @@ export class UserInteractions
|
|
|
274
274
|
//==========
|
|
275
275
|
{
|
|
276
276
|
const systems = [];
|
|
277
|
-
for (const system of this.__systems.
|
|
277
|
+
for (const [name, system] of this.__systems.entries()) {
|
|
278
278
|
systems.push({
|
|
279
|
-
name:
|
|
279
|
+
name: name,
|
|
280
280
|
colour: system.colour,
|
|
281
281
|
});
|
|
282
282
|
}
|