</p> </div> </div> </div></div><div id='bottomrow' class='container'><div class='row'> <div class='col-md-6 noBorder'><div id='directionsButton' class='col-md-12'><span class='btn' onclick='displayInfo(53.15845,-7.18638);'><i class='fas fa-directions'></i>Directions</span><br/></div></div> <div class='col-md-6 noBorder'><div class='container'><div class='row'><div class='col-md-1'><i class='fas fa-map-marker-alt d-none d-md-block' ></i></div><div class='col'><strong>Latitude: </strong>53.15845</div></div><div class='row'><div class='col-md-1'> </div><div' class='col'><strong>Longitude: </strong>-7.18638</div></div></div></div> <div><p>Please note you will be asked to share your current location to get directions.</p></div></div></div>','']];for(var i=0;i{var startLat=position.coords.latitude;var startlong=position.coords.longitude;var start='('+startLat+','+startlong+')';var end='('+endLat+','+endLong+')';var myUrl="https://www.google.com/maps/dir/?api=1&origin="+start;myUrl+="&destination="+end+"&travelmode=driving";var win=window.open(myUrl,'_blank');if(win){win.focus();}else{alert('Please allow popups for this website');}});}