new moderation portal with CRUD operations and map preview function, bugfixes, comments and improved textblocks #7
@@ -751,7 +751,7 @@ function toggleCategoryFilter(checkbox) {
|
|||||||
if (layer.feature) {
|
if (layer.feature) {
|
||||||
const cat = layer.feature.properties.category;
|
const cat = layer.feature.properties.category;
|
||||||
if (activeFilters.indexOf(cat) !== -1) {
|
if (activeFilters.indexOf(cat) !== -1) {
|
||||||
layer.setStyle({ opacity: 1, fillOpacity: layer.feature.geometry.type === 'Point' ? 0.9 : 0.25 });
|
layer.setStyle({ opacity: 0.8, fillOpacity: layer.feature.geometry.type === 'Point' ? 0.25 : 0.25 });
|
||||||
if (layer.setRadius) layer.setRadius(8);
|
if (layer.setRadius) layer.setRadius(8);
|
||||||
layer.options.interactive = true;
|
layer.options.interactive = true;
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user