-4
我想寫在HMTL https://developers.google.com/places/documentation/actions#PlaceReportRequests這個,但我真的很大的困難。你能幫我嗎,創建一個新場所的HTML代碼是什麼?我有API密鑰,但我不知道如何把事情放在一起。谷歌地方API - 添加地方
我想寫在HMTL https://developers.google.com/places/documentation/actions#PlaceReportRequests這個,但我真的很大的困難。你能幫我嗎,創建一個新場所的HTML代碼是什麼?我有API密鑰,但我不知道如何把事情放在一起。谷歌地方API - 添加地方
看到這個例子。你可以得到一個想法。
谷歌地圖API樣品
function initialize() {
if (GBrowserIsCompatible()) {
var map = new GMap2(document.getElementById("map_canvas"));
map.setCenter(new GLatLng(37.4419, -122.1419), 13);
GEvent.addListener(map, "click", function() {
alert("You clicked the map.");
});
}
}
</script>
你可以在這個環節更多的例子。 http://code.google.com/apis/ajax/playground
+1很好,很清楚。 – Rushi
看看REST和jQuery – Joerg
使用谷歌地圖v2或v3嗎? – Anshu