-1 |
|
<script type="text/javascript">
//<![CDATA[
var geocoder = null;
function load() {
if (GBrowserIsCompatible()) {
var map = new GMap2(document.getElementById("map"));
map.setCenter(new GLatLng(37.4419, -122.1419), 13);
map.addControl(new GSmallMapControl());
map.addControl(new GMapTypeControl());
geocoder = new GClientGeocoder();
if (geocoder) {
geocoder.getLatLng(
"Geelseweg 8b,2200 Herentals,Belgium",
function(point) {
map.setCenter(point, 15);
var marker = new GMarker(point);
map.addOverlay(marker);
marker.openInfoWindowHtml('<img src="/img/logo_black.png" alt="" /><br/>Geelseweg 8b<br />2200 Herentals<br />Belgium');
}
);
}
}
}
//]]>
</script>
<script type="text/javascript"> //<![CDATA[ var geocoder = null; function load() { if (GBrowserIsCompatible()) { var map = new GMap2(document.getElementById("map")); map.setCenter(new GLatLng(37.4419, -122.1419), 13); map.addControl(new GSmallMapControl()); map.addControl(new GMapTypeControl()); geocoder = new GClientGeocoder(); if (geocoder) { geocoder.getLatLng( "Geelseweg 8b,2200 Herentals,Belgium", function(point) { map.setCenter(point, 15); var marker = new GMarker(point); map.addOverlay(marker); marker.openInfoWindowHtml('<img src="/img/logo_black.png" alt="" /><br/>Geelseweg 8b<br />2200 Herentals<br />Belgium'); } ); } } } //]]> </script>
Wat ik altijd gebruik. |