Test of Google Map API (testgmap.js)


/ Published in: JavaScript
Save to your folder(s)

This is test script of Google Map API.
How to use this script is as follows.
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml">
<head>
<style type="text/css">
v\:* {
behavior:url(#default#VML);
}
</style>
<script type="text/javascript" src="http://maps.google.com/maps?file=api&v=2&key=XXXXX" charset="UTF-8"></script>
<script type="text/javascript" src="http://xxxxx/testgmap.js" charset="UTF-8"></script>
<script>
window.onload = load;
window.unload = GUnload;
</script>
</head>
<body>
<table border=1><tr><td><div id="map" style="width: 700px; height: 600px"></div>
<div id="gmessage"></div></td><td>
<a href="javascript:moveMap()">Test 1</a><br />
</td></tr></table>
</body>

URL: http://mt.ikinuku.com/archives/2006/07/google_map_1.html

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.