Ambiera Forum

Discussions, Help and Support.

Ambiera Forum > CopperCube > Help with CopperCube
how to display the panorama in the game and use the panorama as the base map?

zcfwei
Registered User
Quote
2020-02-23 03:00:15

🔎︎

要制作一款跑步游戏,需要嵌入实景地图。采用腾讯的地图数据,请问如何在游戏中显示该全景图,并将该全景图作为底图?
下面是腾讯提供的JS代码:
To make a running game, you need to embed a live map. With Tencent's map data, how to display the panorama in the game and use the panorama as the base map?
Here is the JS code provided by Tencent:

function init() {
// 创建街景
pano = new qq.maps.Panorama(document.getElementById('pano_container'), {
"pano": "18011033150412150415000",
"pov":{
heading:0,
pitch:0
}
});
}


Create reply:


Posted by: (you are not logged in)


Enter the missing letter in: "Int?rnational" (you are not logged in)


Text:

 

  

Possible Codes


Feature Code
Link [url] www.example.com [/url]
Bold [b]bold text[/b]
Image [img]http://www.example.com/image.jpg[/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]

Emoticons


   






Copyright© Ambiera e.U. all rights reserved.
Privacy Policy | Terms and Conditions | Imprint | Contact