-
-
Save fitomad/c78f42d5304cc952d37cbdbfbfb11e88 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function austriasAnnotationSelected(event) | |
{ | |
// 1 | |
let coordinate = new mapkit.Coordinate(this.spatial.latitude, this.spatial.longitude); | |
// 2 | |
map.setCenterAnimated(coordinate, true); | |
// 3 | |
element("information").style.visibility = "visible"; | |
element("venueTitle").innerHTML = this.title; | |
element("venueDescription").innerHTML = this.description; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment