Skip to content
Snippets Groups Projects
Commit 7c4bf131 authored by Sébastien DA ROCHA's avatar Sébastien DA ROCHA :bicyclist:
Browse files

Merge branch 'fix/mvt-icon' into 'develop'

test FIX MVT icons

See merge request !240
parents 1e1da103 1925e2dc
No related branches found
No related tags found
2 merge requests!254version 2.3.2,!240test FIX MVT icons
...@@ -311,6 +311,10 @@ const mapUtil = { ...@@ -311,6 +311,10 @@ const mapUtil = {
const featureType = featureTypes.find((x) => x.slug.split('-')[0] === '' + properties.feature_type_id); const featureType = featureTypes.find((x) => x.slug.split('-')[0] === '' + properties.feature_type_id);
const color = this.retrieveFeatureColor(featureType, properties); const color = this.retrieveFeatureColor(featureType, properties);
const colorValue =
color.value && color.value.length ?
color.value : typeof color === 'string' && color.length ?
color : '#000000';
// Look for a custom field // Look for a custom field
let customField; let customField;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment