'; html += ''; if(distance != undefined && distance != "") { html += '' + Math.round(distance * 100) / 100 + ' km'; } html += ''; } if(typeof marketSegment === 'string') { marketSegment = marketSegment.split(","); } if(marketSegment.length >0) { html += '