style(assets): reduce point selection circle halo radius and stroke width
This commit is contained in:
parent
6a74c8b358
commit
b9c481d8e1
3 changed files with 21 additions and 21 deletions
|
|
@ -1076,13 +1076,13 @@
|
||||||
paint: {
|
paint: {
|
||||||
'circle-radius': [
|
'circle-radius': [
|
||||||
'interpolate', ['linear'], ['zoom'],
|
'interpolate', ['linear'], ['zoom'],
|
||||||
8, ['case', isNatureExpr, 8, 10],
|
8, ['case', isNatureExpr, 4, 5],
|
||||||
11, ['case', isNatureExpr, 13, 15],
|
11, ['case', isNatureExpr, 6, 7],
|
||||||
13, ['case', isNatureExpr, 17, 20],
|
13, ['case', isNatureExpr, 8, 10],
|
||||||
15, ['case', isNatureExpr, 23, 26],
|
15, ['case', isNatureExpr, 11, 14],
|
||||||
17, ['case', isNatureExpr, 30, 34],
|
17, ['case', isNatureExpr, 14, 18],
|
||||||
19, ['case', isNatureExpr, 38, 44],
|
19, ['case', isNatureExpr, 18, 23],
|
||||||
22, ['case', isNatureExpr, 48, 56]
|
22, ['case', isNatureExpr, 22, 28]
|
||||||
],
|
],
|
||||||
'circle-color': [
|
'circle-color': [
|
||||||
'case',
|
'case',
|
||||||
|
|
@ -1102,8 +1102,8 @@
|
||||||
],
|
],
|
||||||
'circle-stroke-width': [
|
'circle-stroke-width': [
|
||||||
'case',
|
'case',
|
||||||
['boolean', ['feature-state', 'selected'], false], 4.5,
|
['boolean', ['feature-state', 'selected'], false], 3.5,
|
||||||
['boolean', ['feature-state', 'highlighted'], false], 3,
|
['boolean', ['feature-state', 'highlighted'], false], 2.5,
|
||||||
0
|
0
|
||||||
],
|
],
|
||||||
'circle-stroke-opacity': [
|
'circle-stroke-opacity': [
|
||||||
|
|
|
||||||
|
|
@ -1199,13 +1199,13 @@ const _unified_assets_point_selection = (typeof AssetSymbology !== 'undefined' &
|
||||||
paint: {
|
paint: {
|
||||||
'circle-radius': [
|
'circle-radius': [
|
||||||
'interpolate', ['linear'], ['zoom'],
|
'interpolate', ['linear'], ['zoom'],
|
||||||
8, ['case', ['any', ['==', ['get', 'asset_type'], 'naturetree'], ['==', ['get', 'asset_type'], 'natureshrub'], ['==', ['get', 'thematic'], 'nature']], 8, 10],
|
8, ['case', ['any', ['==', ['get', 'asset_type'], 'naturetree'], ['==', ['get', 'asset_type'], 'natureshrub'], ['==', ['get', 'thematic'], 'nature']], 4, 5],
|
||||||
11, ['case', ['any', ['==', ['get', 'asset_type'], 'naturetree'], ['==', ['get', 'asset_type'], 'natureshrub'], ['==', ['get', 'thematic'], 'nature']], 13, 15],
|
11, ['case', ['any', ['==', ['get', 'asset_type'], 'naturetree'], ['==', ['get', 'asset_type'], 'natureshrub'], ['==', ['get', 'thematic'], 'nature']], 6, 7],
|
||||||
13, ['case', ['any', ['==', ['get', 'asset_type'], 'naturetree'], ['==', ['get', 'asset_type'], 'natureshrub'], ['==', ['get', 'thematic'], 'nature']], 17, 20],
|
13, ['case', ['any', ['==', ['get', 'asset_type'], 'naturetree'], ['==', ['get', 'asset_type'], 'natureshrub'], ['==', ['get', 'thematic'], 'nature']], 8, 10],
|
||||||
15, ['case', ['any', ['==', ['get', 'asset_type'], 'naturetree'], ['==', ['get', 'asset_type'], 'natureshrub'], ['==', ['get', 'thematic'], 'nature']], 23, 26],
|
15, ['case', ['any', ['==', ['get', 'asset_type'], 'naturetree'], ['==', ['get', 'asset_type'], 'natureshrub'], ['==', ['get', 'thematic'], 'nature']], 11, 14],
|
||||||
17, ['case', ['any', ['==', ['get', 'asset_type'], 'naturetree'], ['==', ['get', 'asset_type'], 'natureshrub'], ['==', ['get', 'thematic'], 'nature']], 30, 34],
|
17, ['case', ['any', ['==', ['get', 'asset_type'], 'naturetree'], ['==', ['get', 'asset_type'], 'natureshrub'], ['==', ['get', 'thematic'], 'nature']], 14, 18],
|
||||||
19, ['case', ['any', ['==', ['get', 'asset_type'], 'naturetree'], ['==', ['get', 'asset_type'], 'natureshrub'], ['==', ['get', 'thematic'], 'nature']], 38, 44],
|
19, ['case', ['any', ['==', ['get', 'asset_type'], 'naturetree'], ['==', ['get', 'asset_type'], 'natureshrub'], ['==', ['get', 'thematic'], 'nature']], 18, 23],
|
||||||
22, ['case', ['any', ['==', ['get', 'asset_type'], 'naturetree'], ['==', ['get', 'asset_type'], 'natureshrub'], ['==', ['get', 'thematic'], 'nature']], 48, 56]
|
22, ['case', ['any', ['==', ['get', 'asset_type'], 'naturetree'], ['==', ['get', 'asset_type'], 'natureshrub'], ['==', ['get', 'thematic'], 'nature']], 22, 28]
|
||||||
],
|
],
|
||||||
'circle-color': [
|
'circle-color': [
|
||||||
'case',
|
'case',
|
||||||
|
|
@ -1225,8 +1225,8 @@ const _unified_assets_point_selection = (typeof AssetSymbology !== 'undefined' &
|
||||||
],
|
],
|
||||||
'circle-stroke-width': [
|
'circle-stroke-width': [
|
||||||
'case',
|
'case',
|
||||||
['boolean', ['feature-state', 'selected'], false], 4.5,
|
['boolean', ['feature-state', 'selected'], false], 3.5,
|
||||||
['boolean', ['feature-state', 'highlighted'], false], 3,
|
['boolean', ['feature-state', 'highlighted'], false], 2.5,
|
||||||
0
|
0
|
||||||
],
|
],
|
||||||
'circle-stroke-opacity': [
|
'circle-stroke-opacity': [
|
||||||
|
|
|
||||||
|
|
@ -1636,7 +1636,7 @@
|
||||||
<script src="{% static 'common/base_script.js' %}"></script>
|
<script src="{% static 'common/base_script.js' %}"></script>
|
||||||
<script src="{% static 'common/base_map.js' %}"></script>
|
<script src="{% static 'common/base_map.js' %}"></script>
|
||||||
<script src="{% static 'assets/sign_panels_shared.js' %}?v=20260703c"></script>
|
<script src="{% static 'assets/sign_panels_shared.js' %}?v=20260703c"></script>
|
||||||
<script src="{% static 'assets/asset_symbology.js' %}?v=20261012_circle_select_v3"></script>
|
<script src="{% static 'assets/asset_symbology.js' %}?v=20261012_circle_select_v4"></script>
|
||||||
<script src="{% static 'assets/unified_map_layers.js' %}?v=20261012_circle_select_v3"></script>
|
<script src="{% static 'assets/unified_map_layers.js' %}?v=20261012_circle_select_v4"></script>
|
||||||
<script src="{% static 'assets/unified_index.js' %}?v=20261012_circle_select_v3"></script>
|
<script src="{% static 'assets/unified_index.js' %}?v=20261012_circle_select_v4"></script>
|
||||||
{% endblock script %}
|
{% endblock script %}
|
||||||
Loading…
Reference in a new issue