Use a Style or a Style function as parameter to setStyle action
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import {Style} from 'ol';
|
||||
import {Style,Feature} from 'ol';
|
||||
|
||||
export interface IStyles{
|
||||
[id: string]: Style;
|
||||
[id: string]: Style | (Feature);
|
||||
};
|
Reference in New Issue
Block a user