1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
|
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
<title>Club Karte</title>
<script src="http://maps.google.com/maps?file=api&v=2&key=**Google Key**"
type="text/javascript"></script>
<script type="text/javascript">
//<![CDATA[
function load() {
if (GBrowserIsCompatible()) {
var map = new GMap2(document.getElementById("map"));
map.addControl(new GSmallMapControl());
map.addControl(new GMapTypeControl());
map.setCenter(new GLatLng('$row[latitude]', '$row[longitude]'), 15);
map.openInfoWindowHtml(map.getCenter(),
'$row[zipcode]-$row[place] <br>$row[kurz]<br>$row[strasse]');
// Create our "tiny" marker icon
var icon = new GIcon();
icon.image = "http://labs.google.com/ridefinder/images/mm_20_red.png";
icon.shadow = "http://labs.google.com/ridefinder/images/map/mm_20_shadow";
icon.iconSize = new GSize(12, 20);
icon.shadowSize = new GSize(22, 20);
icon.iconAnchor = new GPoint(6, 20);
icon.infoWindowAnchor = new GPoint(5, 1);
var point = new GLatLng('$row[latitude]', '$row[longitude]');
map.addOverlay(new GMarker(point, icon));
}
}
//]]>
</script> |