
就当风掠过
1.0 Strict//EN" "链接">< xmlns="链接" xmlns:v="urn:schemas-microsoft-com:vml"> <head> <meta http-equiv="content-type" content="text/; charset=utf-8"/> <title>Google Maps JavaScript API Example: Simple Markers</title> <script src="链接" type="text/javascript"></script> <script type="text/javascript"> function initialize() { if (GBrowserIsCompatible()) { var map = new GMap2(document.getElementById("map_canvas")); map.setCenter(new GLatLng(3
7.4419, -12
2.1419), 13); // Add 10 markers to the map at random locations var bounds = map.getBounds(); var southWest = bounds.getSouthWest(); var northEast = bounds.getNorthEast(); var lngSpan = northEast.lng() - southWest.lng(); var latSpan = northEast.lat() - southWest.lat(); for (var i = 0; i < 10; i++) { var latlng = new GLatLng(southWest.lat() + latSpan * Math.random(), southWest.lng() + lngSpan * Math.random()); map.addOverlay(new GMarker(latlng)); } } } </script> </head> <body onload="initialize()" onunload="GUnload()"> <div id="map_canvas" style="width: 500px; height: 300px"></div> </body></>============================================================更多的例子:链接你悬赏分都没有,问的又是这么复杂的问题,本来不是很愿意回答的。但是正好我上上个学期做过调用google map 的项目,想想你估计也是要作类似的项目把,要是没人引导,从头开始做的确比较难,所以想想还是帮你一下。上面的除了代码外,都不是从网上粘贴拷贝的噢。就看在打了这么多字的份上,我觉得你也该给我追加分数了!呵呵。

皮小哥
2021-09-23 17:23:49 1564查看 1回答

Gary Z鄭
2021-09-23 17:24:32 940查看 1回答
2021-09-23 17:25:32 625查看 0回答

真情利毡宋
2021-09-23 17:25:35 729查看 3回答

就当风掠过
2021-09-23 17:25:35 688查看 1回答

初风.
2021-09-23 17:25:43 646查看 1回答

mear杨
2021-09-23 17:25:43 656查看 1回答

给你一颗心
2021-09-23 17:25:46 704查看 4回答

北巷南猫i
2021-09-23 17:28:03 1528查看 1回答