diff --git a/afrc/migrations/0001_initial.py b/afrc/migrations/0001_initial.py index cf4fa24..61f8bdb 100644 --- a/afrc/migrations/0001_initial.py +++ b/afrc/migrations/0001_initial.py @@ -1447,9 +1447,14 @@ def add_map_layers(apps, schema_editor): "==", "$type", "Point" ]], "paint": { - "circle-radius": 6, + "circle-radius": [ + "case", + ["boolean", ["feature-state", "selected"], False], + 6, + 4 + ], "circle-opacity": 1, - "circle-color": "#00f" + "circle-color": "#00f", } }, { "id": "referencecollections-point", @@ -1469,7 +1474,12 @@ def add_map_layers(apps, schema_editor): "type": "line", "paint": { "line-color": "#00f", - "line-width": 3 + "line-width": [ + "case", + ["boolean", ["feature-state", "selected"], False], + 3, + 1 + ] }, "layout": { "line-cap": "round", @@ -1483,7 +1493,12 @@ def add_map_layers(apps, schema_editor): "type": "line", "paint": { "line-color": "#00f", - "line-width": 3 + "line-width": [ + "case", + ["boolean", ["feature-state", "selected"], False], + 3, + 1 + ], }, "filter": [ "==", @@ -1503,7 +1518,7 @@ def add_map_layers(apps, schema_editor): "paint": { "fill-color": "#00f", "fill-opacity": 0.1, - "fill-outline-color": "#0ff" + "fill-outline-color": "#00f" }, "filter": [ "==", diff --git a/afrc/src/afrc/Search/SearchPage.vue b/afrc/src/afrc/Search/SearchPage.vue index e0b02f5..0a57e34 100644 --- a/afrc/src/afrc/Search/SearchPage.vue +++ b/afrc/src/afrc/Search/SearchPage.vue @@ -1,5 +1,5 @@