Use a Style or a Style function as parameter to setStyle action
This commit is contained in:
@@ -207,7 +207,7 @@ export class DoQuery implements Action {
|
||||
export class SetStyle implements Action {
|
||||
readonly type = SETSTYLE;
|
||||
|
||||
constructor(public itemType:string,public style:Style) { }
|
||||
constructor(public itemType:string,public style: Style | (Feature)) { }
|
||||
}
|
||||
|
||||
export type Actions = SetMapState
|
||||
|
Reference in New Issue
Block a user