egovamap 0.29.3 → 0.29.4

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.
@@ -155,10 +155,16 @@ var egovaBI = function (globeMap, gisMap, mapType) {
155
155
  }
156
156
  //textValue
157
157
  if (options.textStyle.enableText) {
158
+ let labelMinZoom = options.common.beginLevel;
159
+ let labelMaxZoom = options.common.endLevel;
160
+ if(options.textStyle.labelZoomEnabled) {
161
+ labelMinZoom = options.textStyle.textBeginLevel;
162
+ labelMaxZoom = options.textStyle.textEndLevel;
163
+ }
158
164
  p.labelStyle = {
159
165
  type: "text",
160
- minZoom: options.common.beginLevel,
161
- maxZoom: options.common.endLevel,
166
+ minZoom: labelMinZoom,
167
+ maxZoom: labelMaxZoom,
162
168
  xoffset: options.textStyle.xoffset + "px",
163
169
  yoffset: options.textStyle.yoffset + "px",
164
170
  text: p.textValue,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "egovamap",
3
- "version": "0.29.3",
3
+ "version": "0.29.4",
4
4
  "description": "eUrbanGIS SDK",
5
5
  "main": "index.js",
6
6
  "scripts": {