@ohuoy/easymap 1.1.8 → 1.1.9

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ohuoy/easymap",
3
- "version": "1.1.8",
3
+ "version": "1.1.9",
4
4
  "description": "self map easy use",
5
5
  "main": "main.js",
6
6
  "scripts": {
@@ -146,7 +146,7 @@ export default class TilesBar {
146
146
  // },beforeId)
147
147
  // this._map.theme.value = "dark"
148
148
  // };
149
- this._map.theme.value = "dark"
149
+ this._map.theme.value = this._map.style.stylesheet.theme
150
150
  }
151
151
  if(key == 'satellite'){
152
152
  //移除基本图层