Add button to view circuit on google maps
This commit is contained in:
parent
3878852a84
commit
48d30e72b8
@ -160,6 +160,7 @@ function renderRaceInfoBox(race) {
|
||||
content += "<div class=\"text-right\">";
|
||||
content += "<a class=\"btn btn-primary\" target=\"_blank\" href=\""+raceInfo.url+"\" role=\"button\">See Race on Wikipedia</a> ";
|
||||
content += "<a class=\"btn btn-primary\" target=\"_blank\" href=\""+circuit.url+"\" role=\"button\">See Circuit on Wikipedia</a> ";
|
||||
content += "<a class=\"btn btn-primary\" target=\"_blank\" href=\"https://www.google.com/maps/?q="+circuit.lat+","+circuit.lng+"\" role=\"button\">See Circuit on GoogleMaps</a>";
|
||||
content += "</div>";
|
||||
return content;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user