google.maps.* or
G*.Map2,
LatLng,
Point,
Event.LargeMapControl,
ZoomControl,
ScaleControl,
OverviewMapControl.Marker,
Polyline,
Polygon,
GroundOverlay,
ScreenOverlay,
InfoWindow,
GeoXml.ClientGeocoder.Control,
Overlay,
TileLayer.Keyboard,
MarkerManager.XmlHttp,
Xml,
Xslt.
<html>
<head>
<script src="http://ditu.google.com/?file=googleapi"></script>
</head>
<body onload="hello()" onunload="google.maps.Unload()">
<div id="map" style="width:400px;height:300px"></div>
<script>
function hello() {
var map = new google.maps.Map2(document.getElementById("map"));
var point = new google.maps.LatLng(39.905523, 116.400146);
map.setCenter(point, 2);
var marker = new google.maps.Marker(point);
map.addOverlay(marker);
marker.openInfoWindowHtml("Hello World!");
}
</script>
</body>
</html>
<html>
<head>
<script src="http://ditu.google.com/?file=googleapi"></script>
</head>
<body onload="hello()" onunload="google.maps.Unload()">
<div id="map" style="width:400px;height:300px"></div>
<script>
function hello() {
var map = new google.maps.Map2(document.getElementById("map"));
var point = new google.maps.LatLng(39.905523, 116.400146);
map.setCenter(point, 2);
var marker = new google.maps.Marker(point);
map.addOverlay(marker);
marker.openInfoWindowHtml("Hello World!");
}
</script>
</body>
</html>
<script language="JavaScript"
src="http://ditu.google.com/?file=googleapi">
</script>
document.write('<script src="http://ditu.google.com/intl/zh-CN/' +
'mapfiles/114/maps2.api/main.js' +
'"></script>');
/* Copyright 2005-2007 Google. */ (function(){ function
ba(a,b,c){a.prototype[b]=c}function ca(a,b,c){a[b]=c}function
da(a,b){for(var c=0;c<b.length;++c){var d=b[c],e=d[1];if(d[0]){var
f=ea(a,d[0]);if(f.length==1)aa(f[0],e);else{var g=window;for(var
h=0;h<f.length-1;++h){var
i=f[h];if(!g[i])g[i]={};g=g[i]}ca(g,f[f.length-1],e)}}
...,[pq,"Map2"],[qq,"MapType"],
[rq,"MapTypeControl"],... })()
<div id="map" style="width:400px;height:300px"></div>
<form id="geo"><input id="address"/></form>
<script>
function hello() {
var map = new google.maps.Map2(document.getElementById("map"));
var geocoder = new google.maps.ClientGeocoder;
$('geo').onsubmit = function() {
var address = $('address').value;
geocoder.getLatLng(address, function(latlng) {
map.setCenter(latlng);
var marker = new GMarker(latlng);
map.addOverlay(marker);
marker.openInfoWindowHtml("Hello " + address + "!");
});
};
}
</script>
SCRIPT element with URL
in src.http://maps.google.com/maps/geo ?q=beijing &output=json &callback=cbstore.cb001 &hl=en &key=xxx
cbstore.cb001({
name: "beijing",
Status: { code: 200, request: "geocode" },
Placemark: {
address: "Beijing, China",
Point: {
coordinates: [ 116.400146, 39.905523, 0 ]
}
}
});
<?xml version="1.0" encoding="UTF-8"?>
<Module>
<ModulePrefs>
<Require feature="sharedmap"/>
</ModulePrefs>
<Content type="html"><![CDATA[
<h2>Hello World!</h2>
<script>
var map = new GMap2;
var point = new GLatLng(39.905523, 116.400146);
map.setCenter(point, 2);
var marker = new GMarker(point);
map.addOverlay(marker);
marker.openInfoWindowHtml("Hello World!");
</script>
]]></Content>
</Module>
maps.google.com domain with URL in src.
http://maps.gmodules.com/ig/idc
#maps.google.com
&000001remote_iframe_22
%261405%26top%26%26top
%2613%252C34%252Cclick%261%252C1%252C37.71859%252C6.679688&
http://maps.google.com/maps/mpl/relay
#maps.gmodules.com
&000002top%26319%26remote_iframe_22%26%26remote_iframe_22
%2613%252C3%252C0%252C1%252C1%252CHello%252520World!%252C0%252C0&
google.maps.* or G.ditu.google.com using the
Maps API,ditu.google.com page by
IDC.