Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
propertyName: 'region',
expression: 'Montréal'
},
{
operator: 'PropertyIsNotEqualTo',
propertyName: 'region',
expression: 'Laval'
}
]
}
}
]
}
]
},
allowedOperatorsType: OgcFilterOperatorType.Basic
},
paramsWFS: {
featureTypes: 'radars_photos',
fieldNameGeometry: 'geometry',
maxFeatures: 10000,
version: '1.1.0',
outputFormat: 'geojson',
outputFormatDownload: 'shp'
} as WFSDataSourceOptionsParams
};
this.dataSourceService
.createAsyncDataSource(filterableWMSwithPushButtons)
.subscribe(dataSource => {
this.map.addLayer(
this.layerService.createLayer({