Skip to content

Commit

Permalink
fix: only include icon url in feature properties (#1818)
Browse files Browse the repository at this point in the history
  • Loading branch information
turban authored Aug 27, 2021
1 parent cdace3c commit 68c5bda
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/loaders/facilityLoader.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,10 +109,7 @@ const toGeoJson = (facility, group, contextPath) => ({
id: facility.id,
name: facility.na,
label: `${facility.na} (${group.name})`,
icon: {
iconUrl: `${contextPath}/images/orgunitgroup/${group.symbol}`,
iconSize: [16, 16],
},
iconUrl: `${contextPath}/images/orgunitgroup/${group.symbol}`,
type: 'Point', // Accessible in data table
},
geometry: {
Expand Down

0 comments on commit 68c5bda

Please sign in to comment.