@dartcom/ui-kit 10.2.10 → 10.2.11

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/dist/index.cjs CHANGED
@@ -26058,7 +26058,7 @@ const generalizationBaseLayerDraw = {
26058
26058
  text,
26059
26059
  lines: {
26060
26060
  color: '#BABCC2',
26061
- width: 30,
26061
+ width: 10,
26062
26062
  cap: 'round',
26063
26063
  join: 'round',
26064
26064
  },
@@ -26102,7 +26102,7 @@ const getFilter = (zLvl) => {
26102
26102
  const filter = `function() {
26103
26103
  const { z_lvl = '0.0' } = feature;
26104
26104
 
26105
- const isFilter = z_lvl === '${zLvl}' && $zoom > ${generalizationZoom};
26105
+ const isFilter = z_lvl === '${zLvl}' && $zoom <= ${generalizationZoom};
26106
26106
 
26107
26107
  return isFilter;
26108
26108
  }`;
@@ -26135,7 +26135,7 @@ const getLinkLayers = (source) => {
26135
26135
  filter: `function() {
26136
26136
  const { functional_class, z_lvl = '0.0' } = feature;
26137
26137
 
26138
- const isFilter = z_lvl === '${zLvl}' && +functional_class === ${functionClass} && $zoom > ${generalizationZoom};
26138
+ const isFilter = z_lvl === '${zLvl}' && +functional_class === ${functionClass} && $zoom <= ${generalizationZoom};
26139
26139
 
26140
26140
  return isFilter;
26141
26141
  }`,
@@ -26158,7 +26158,7 @@ const getLinkLayers = (source) => {
26158
26158
  filter: `function() {
26159
26159
  const { functional_class, z_lvl = '0.0' } = feature;
26160
26160
 
26161
- const isFilter = z_lvl === '${zLvl}' && +functional_class === ${functionClass} && $zoom <= ${generalizationZoom};
26161
+ const isFilter = z_lvl === '${zLvl}' && +functional_class === ${functionClass} && $zoom > ${generalizationZoom};
26162
26162
 
26163
26163
  return isFilter;
26164
26164
  }`,
@@ -26175,7 +26175,7 @@ const getLinkLayers = (source) => {
26175
26175
  filter: `function() {
26176
26176
  const { functional_class, z_lvl = '0.0' } = feature;
26177
26177
 
26178
- const isFilter = z_lvl === '${zLvl}' && +functional_class === ${functionClass} && !global.links.getIsConstruction(feature) && !global.links.getIsFunctionalClass(feature) && $zoom > ${generalizationZoom};
26178
+ const isFilter = z_lvl === '${zLvl}' && +functional_class === ${functionClass} && !global.links.getIsConstruction(feature) && !global.links.getIsFunctionalClass(feature) && $zoom <= ${generalizationZoom};
26179
26179
 
26180
26180
 
26181
26181
  return isFilter;
@@ -26210,7 +26210,7 @@ const getLinkLayers = (source) => {
26210
26210
  filter: `function() {
26211
26211
  const { z_lvl = '0.0' } = feature;
26212
26212
 
26213
- const isFilter = z_lvl === '${zLvl}' && $zoom <= ${generalizationZoom};
26213
+ const isFilter = z_lvl === '${zLvl}' && $zoom > ${generalizationZoom};
26214
26214
 
26215
26215
  return isFilter;
26216
26216
  }`,