@record-evolution/widget-mapbox 1.5.5 → 1.5.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/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "REWidget widget-mapbox",
4
4
  "license": "MIT",
5
5
  "author": "widget-mapbox",
6
- "version": "1.5.5",
6
+ "version": "1.5.7",
7
7
  "type": "module",
8
8
  "main": "dist/widget-mapbox.js",
9
9
  "types": "dist/src/widget-mapbox.d.ts",
@@ -1,6 +1,4 @@
1
1
  {
2
- "title": "Test",
3
- "subTitle": "Subtitle",
4
2
  "style": "light-v11",
5
3
  "showLegend": false,
6
4
  "follow": false,
@@ -81,7 +81,7 @@ export class WidgetMapbox extends LitElement {
81
81
 
82
82
  registerTheme(theme?: Theme) {
83
83
  const cssTextColor = getComputedStyle(this).getPropertyValue('--re-text-color').trim()
84
- const cssBgColor = getComputedStyle(this).getPropertyValue('--re-background-color').trim()
84
+ const cssBgColor = getComputedStyle(this).getPropertyValue('--re-tile-background-color').trim()
85
85
  this.themeBgColor = cssBgColor || this.theme?.theme_object?.backgroundColor
86
86
  this.themeTitleColor = cssTextColor || this.theme?.theme_object?.title?.textStyle?.color
87
87
  this.themeSubtitleColor =