From 061e60e629a0dd196cc741cbdf927fecfa427ec1 Mon Sep 17 00:00:00 2001 From: MelihAltintas Date: Tue, 14 Sep 2021 20:01:10 +0300 Subject: [PATCH] flow line function support --- package.json | 2 +- src/components/styles/FlowLine.vue | 7 +++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 61b4cdc6..23f602ac 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "vue3-openlayers", - "version": "0.1.46", + "version": "0.1.47", "description": "Openlayers Wrapper for Vue3", "repository": { "type": "git", diff --git a/src/components/styles/FlowLine.vue b/src/components/styles/FlowLine.vue index 097bdfbc..b170de01 100644 --- a/src/components/styles/FlowLine.vue +++ b/src/components/styles/FlowLine.vue @@ -95,13 +95,13 @@ export default { }, props: { color: { - type: String + type: [String,Function] }, color2: { type: String }, width: { - type: Number + type: [Number,Function] }, width2: { type: Number @@ -109,6 +109,9 @@ export default { arrow: { type: Number }, + arrowColor: { + type: String + }, }