@abi-software/flatmap-viewer 2.2.1-beta.6 → 2.2.1-beta.7

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 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.1-beta.6``
41
+ * ``npm install @abi-software/flatmap-viewer@2.2.1-beta.7``
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.1-beta.6",
3
+ "version": "2.2.1-beta.7",
4
4
  "description": "Flatmap viewer using Maplibre GL",
5
5
  "repository": "https://github.com/AnatomicMaps/flatmap-viewer.git",
6
6
  "main": "src/main.js",
@@ -648,7 +648,7 @@ export class UserInteractions
648
648
  if (tooltips.length === 0) {
649
649
  return '';
650
650
  }
651
- return tooltips.join('<hr/>');
651
+ return `<div class='flatmap-feature-label'>${tooltips.join('<hr/>')}</div>`;
652
652
  }
653
653
 
654
654
  tooltipHtml_(properties, forceLabel=false)