Google maps api 3 谷歌地图API商业位置
早上好 我目前正在使用下面的代码以特定的长lat加载我的Google Map的API V3,这是为一个客户端,我想知道我是否可以加载一个类似于Google Maps上弹出的信息窗口,其中包含商业信息、评论明星等Google maps api 3 谷歌地图API商业位置,google-maps-api-3,google-places-api,Google Maps Api 3,Google Places Api,早上好 我目前正在使用下面的代码以特定的长lat加载我的Google Map的API V3,这是为一个客户端,我想知道我是否可以加载一个类似于Google Maps上弹出的信息窗口,其中包含商业信息、评论明星等 <script type="text/javascript"> function initialize() { var mapOptions = { center: new google.maps.LatLng(lat-long
<script type="text/javascript">
function initialize() {
var mapOptions = {
center: new google.maps.LatLng(lat-long),
disableDefaultUI: true,
zoom: 16,
mapTypeId: google.maps.MapTypeId.ROADMAP
};
var map = new google.maps.Map(document.getElementById("location"),
mapOptions);
var point = new google.maps.LatLng(lat-long);
var marker = new google.maps.Marker({
position:point,
map: map,
});
}
</script>
函数初始化(){
变量映射选项={
中心:新google.maps.LatLng(拉特朗),
disableDefaultUI:true,
缩放:16,
mapTypeId:google.maps.mapTypeId.ROADMAP
};
var map=new google.maps.map(document.getElementById(“位置”),
地图选项);
var point=new google.maps.LatLng(lat long);
var marker=new google.maps.marker({
位置:点,,
地图:地图,
});
}
这是在不同的API中完成的吗?如果有的话,有人能给我指一些有用的信息吗
非常感谢,
Giles。听起来您可能正在查找Places API/库: 不确定它是否拥有你在谷歌地图上找到的一切