Instantly share code, notes, and snippets.

Embed
What would you like to do?
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