diff --git a/src/fragments/map-view/components/ors-l-polyline/ors-l-polyline.js b/src/fragments/map-view/components/ors-l-polyline/ors-l-polyline.js index 900110c5a..27ac318f5 100755 --- a/src/fragments/map-view/components/ors-l-polyline/ors-l-polyline.js +++ b/src/fragments/map-view/components/ors-l-polyline/ors-l-polyline.js @@ -160,7 +160,7 @@ export default { computed: { routeOpacity () { let opacity = lodash.get(this.route, 'properties.opacity') - if (opacity) { + if (lodash.isNumber(opacity)) { return opacity } else { return 0.9