You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
458 B
HTML
13 lines
458 B
HTML
<div class="scrollable-box">
|
|
<div class="h4" id="place-name" style="max-width: 90%;"></div>
|
|
<div id="team-label"></div>
|
|
</div>
|
|
|
|
<script>
|
|
function loadPlace(feature) {
|
|
$("#place-name").text(feature.properties.name);
|
|
|
|
$("#team-label").text(getTeamNameFromId(feature.properties.gameinfo.teamid));
|
|
$("#team-label").css("color", "#" + getTeamColorFromId(feature.properties.gameinfo.teamid));
|
|
}
|
|
</script> |