@foodmarketmaker/mapag 0.0.13 → 0.0.14
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.
|
@@ -14980,6 +14980,7 @@ class WatershedMapper {
|
|
|
14980
14980
|
map.setPaintProperty(this.LABEL_LAYER_ID, 'text-halo-width', settings.labelsHaloWidth);
|
|
14981
14981
|
map.setPaintProperty(this.LABEL_LAYER_ID, 'text-opacity', settings.labelsOpacity);
|
|
14982
14982
|
map.setLayoutProperty(this.LABEL_LAYER_ID, 'text-size', settings.labelsSize);
|
|
14983
|
+
map.setLayoutProperty(this.LABEL_LAYER_ID, 'text-allow-overlap', settings.labelOverlap);
|
|
14983
14984
|
}
|
|
14984
14985
|
create() {
|
|
14985
14986
|
if (!this.map) {
|
|
@@ -15041,7 +15042,7 @@ class WatershedMapper {
|
|
|
15041
15042
|
layout: {
|
|
15042
15043
|
'text-field': ['get', 'name'],
|
|
15043
15044
|
'text-size': this.settings().labelsSize,
|
|
15044
|
-
'text-allow-overlap':
|
|
15045
|
+
'text-allow-overlap': this.settings().labelOverlap,
|
|
15045
15046
|
},
|
|
15046
15047
|
paint: {
|
|
15047
15048
|
'text-color': this.settings().labelsColor,
|
|
@@ -15134,7 +15135,7 @@ class WatershedSettings {
|
|
|
15134
15135
|
visible = true;
|
|
15135
15136
|
fillColor = '#0000ff';
|
|
15136
15137
|
fillOpacity = 0.1;
|
|
15137
|
-
borderColor = '#
|
|
15138
|
+
borderColor = '#01018b';
|
|
15138
15139
|
borderWidth = 1;
|
|
15139
15140
|
borderOpacity = 1.0;
|
|
15140
15141
|
labelsVisible = true;
|
|
@@ -15143,6 +15144,7 @@ class WatershedSettings {
|
|
|
15143
15144
|
labelsHaloColor = '#ffffff';
|
|
15144
15145
|
labelsHaloWidth = 1;
|
|
15145
15146
|
labelsOpacity = 1.0;
|
|
15147
|
+
labelOverlap = false;
|
|
15146
15148
|
autoSelectLayer = false;
|
|
15147
15149
|
}
|
|
15148
15150
|
|