Skip to content

Commit

Permalink
Switch polyline colo from yellow to c2c orange
Browse files Browse the repository at this point in the history
  • Loading branch information
Bruno Besson authored and brunobesson committed Apr 20, 2021
1 parent 992a872 commit 01cdca8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/components/map/map-utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import ol from '@/js/libs/ol';
import utils from '@/js/utils';

const buildTextStyle = function (title, highlight) {
// createTextStyle_ = function(feature, type, highlight) {
let text;

if (highlight) {
Expand Down Expand Up @@ -127,7 +126,7 @@ export const getDocumentPointStyle = function (document, title, highlight) {
export const getDocumentLineStyle = function (title, highlight) {
return new ol.style.Style({
stroke: new ol.style.Stroke({
color: highlight ? 'red' : 'yellow',
color: highlight ? 'red' : '#f93',
width: 3,
}),
text: buildTextStyle(title, highlight),
Expand Down

0 comments on commit 01cdca8

Please sign in to comment.