import { StyleSetEvaluator } from "@here/harp-datasource-protocol/index-decoder" ; import { OmvFeatureFilter } from "./OmvDataFilter" ; see see export class StyleSetDataFilter implements OmvFeatureFilter { hasKindFilter : boolean = false ; constructor ( readonly styleSetEvaluator ) { } wantsLayer ( layer , level ) { return this . styleSetEvaluator . wantsLayer ( layer ) ; } wantsPointFeature ( layer ) { return this . styleSetEvaluator . wantsFeature ( layer , "point" ) ; } wantsLineFeature ( layer ) { return this . styleSetEvaluator . wantsFeature ( layer , "line" ) ; } wantsPolygonFeature ( layer ) { return this . styleSetEvaluator . wantsFeature ( layer , "polygon" ) ; } wantsKind ( ) { return true ; } }