From c6b919a8d6005febb38b92edeb8a8bed94946e4c Mon Sep 17 00:00:00 2001 From: Mike Williamson Date: Tue, 19 Jul 2016 16:49:46 -0400 Subject: [PATCH] Remove hack for issue that is now fixed. Stringifying was to get around this issue: https://github.com/mapbox/mapbox-gl-js/issues/2434 Removing since this is now resolved. --- public/javascripts/convert.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/public/javascripts/convert.js b/public/javascripts/convert.js index 01dd3b9..2bfc015 100644 --- a/public/javascripts/convert.js +++ b/public/javascripts/convert.js @@ -2,9 +2,7 @@ let locationToFeature = (location) => { location["marker-symbol"] = "marker" location.title = location.organizations.reduce((prev, curr) => { return prev === "" ? prev + curr.name : prev + " & " + curr.name}, "") - //XXX: This is a workaround for - //https://github.com/mapbox/mapbox-gl-js/issues/2434 - location.organizations = JSON.stringify(location.organizations) + location.organizations = location.organizations return { "type": "Feature", "properties": location,