Skip to content
Snippets Groups Projects
Commit 3ddc4966 authored by Florent Lavelle's avatar Florent Lavelle
Browse files

minor fix

parent da74fe1e
No related branches found
No related tags found
2 merge requests!254version 2.3.2,!231REDMINE_ISSUE-12634
...@@ -400,7 +400,13 @@ const mapUtil = { ...@@ -400,7 +400,13 @@ const mapUtil = {
} }
const colorValue = color.value ? color.value : color; const colorValue = color.value ? color.value : color;
if (geomJSON.type === 'Point') { if (geomJSON.type === 'Point') {
if (customFieldOption && featureType.colors_style && featureType.colors_style.value && featureType.colors_style.value.icons) { if (
customFieldOption &&
featureType.colors_style &&
featureType.colors_style.value &&
featureType.colors_style.value.icons &&
!!Object.keys(featureType.colors_style.value.icons).length
) {
if (featureType.colors_style.value.icons[customFieldOption]) { if (featureType.colors_style.value.icons[customFieldOption]) {
const iconHTML = ` const iconHTML = `
<i <i
......
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