腾讯地图位置展示组件用法

手机端和pc端都能用

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Geolocation Components Demo - zoom effect</title>
<meta name="viewport" content="width=device-width,initial-scale=1,
minimum-scale=1,maximum-scale=1,user-scalable=no">
<style>
* {margin: 0; padding: 0; border: 0;}
</style>
</head>
<body>
<iframe id="geoPage" width="100%" height="100%" frameborder=0 scrolling="no"
src="http://apis.map.qq.com/tools/poimarker?type=1&keyword=酒店&center=39.908491,116.374328&radius=1000&key=你的密钥&referer=myapp">
</iframe>

</body>
</html>'

 

posted @ 2021-03-01 13:14  Samuel-Leung  阅读(337)  评论(0编辑  收藏  举报