You can use the google maps plugin for this:
https://krpano.com/plugins/googlemaps/#top
And also, each example has the XML source, for the example you linked to, the XML can be found here:
https://krpano.com/viewsource.html?relea…/googlemaps.xml
gr,
Kristof