Hallo,
ich hatte ein stückchen weiter oben auch den link zur problemseite angegeben ;-)
aber hier ist noch mal der ausschnitt mit dem filialenmodul und eben dem google-maps modul.
HTML-Code:
<h1 class="ce_headline">Karte unserer Filialen</h1>
<script type="text/javascript">
//<![CDATA[
mapdata = new Array();
mapdata['dlh_googlemap_34'] = new Array();
mapdata['dlh_googlemap_34']['marker'] = new Array();
mapdata['dlh_googlemap_34']['marker'][0] = new Array();
mapdata['dlh_googlemap_34']['marker'][0]['coords'] = '50.85301895832509, 13.944332599639893';
mapdata['dlh_googlemap_34']['marker'][0]['icon'] = 'tl_files/_Bilder/dfw_standardtemplate/images/punkt.jpg';
mapdata['dlh_googlemap_34']['marker'][0]['icon_position'] = '0,30';
mapdata['dlh_googlemap_34']['marker'][0]['icon_size'] = '30,30';
mapdata['dlh_googlemap_34']['marker'][0]['shadow'] = 'tl_files/_Bilder/dfw_standardtemplate/images/punkt.jpg';
mapdata['dlh_googlemap_34']['marker'][0]['shadow_size'] = '';
mapdata['dlh_googlemap_34']['marker'][0]['infotext'] = 'Noch ein dynamisches Icon!';
mapdata['dlh_googlemap_34']['marker'][0]['info_position'] = '';
mapdata['dlh_googlemap_34']['marker'][0]['autoinfo'] = false;
mapdata['dlh_googlemap_34']['marker'][1] = new Array();
mapdata['dlh_googlemap_34']['marker'][1]['coords'] = '50.85301895832509, 13.944332599639893';
mapdata['dlh_googlemap_34']['marker'][1]['icon'] = 'tl_files/_Bilder/dfw_standardtemplate/images/punkt.jpg';
mapdata['dlh_googlemap_34']['marker'][1]['icon_position'] = '0,30';
mapdata['dlh_googlemap_34']['marker'][1]['icon_size'] = '30,30';
mapdata['dlh_googlemap_34']['marker'][1]['shadow'] = 'tl_files/_Bilder/dfw_standardtemplate/images/punkt.jpg';
mapdata['dlh_googlemap_34']['marker'][1]['shadow_size'] = '';
mapdata['dlh_googlemap_34']['marker'][1]['infotext'] = 'Noch ein dynamisches Icon!';
mapdata['dlh_googlemap_34']['marker'][1]['info_position'] = '';
mapdata['dlh_googlemap_34']['marker'][1]['autoinfo'] = false;
//]]>
</script>
<!-- indexer::stop -->
<div class="mod_dlh_googlemaps block">
<div class="dlh_googlemap block" id="dlh_googlemap_34" style="width:544px;height:330px;display:block;"></div>
<script src="http://maps.google.com/maps?file=api&v=2&key=ABQIAAAAeeUkUc8aSzU7quNrXemNixTsNpr4gkD7j-rdYBc-LDEQ2IJO_hQBo1nm2JLs9bJkAMx6r5R3SW1oUw&sensor=false&hl=de" type="text/javascript"></script>
<script type="text/javascript">
//<![CDATA[
function loaddlh_googlemap_34() {
if (GBrowserIsCompatible()) {
var dlh_googlemap_34 = new GMap2(document.getElementById("dlh_googlemap_34"));
dlh_googlemap_34.addControl(new GLargeMapControl());
dlh_googlemap_34.addControl(new GMapTypeControl());
dlh_googlemap_34.setMapType(G_NORMAL_MAP);
dlh_googlemap_34.setCenter(new GLatLng(51.02535758791499,14.011538028717041), 13);
var dlh_googlemap_34_point = new GLatLng(51.02535758791499,14.011538028717041);
var dlh_googlemap_34_icon = new GIcon(G_DEFAULT_ICON);
dlh_googlemap_34_marker = new GMarker(dlh_googlemap_34_point, dlh_googlemap_34_icon);
dlh_googlemap_34.addOverlay(dlh_googlemap_34_marker);
dlh_googlemap_34_icon.infoWindowAnchor = new GPoint(15,2);
GEvent.addListener(dlh_googlemap_34_marker, "click", function() { dlh_googlemap_34_marker.openInfoWindowHtml("Dürrröhrsdorfer Fleisch und Wurstwaren GmbH<br />Gewerbegebiet Ziegeleistraße 8<br />01833 Dürrröhrsdorf<br />Tel.: +49 (035026) - 973 - 0<br /><br />Öffnungzeiten: 7 - 20 Uhr"); });
}
}
window.setTimeout("loaddlh_googlemap_34()", 500);
//]]>
</script>
</div>
<!-- indexer::continue -->
</div>
</div>
was mir gerade noch einfällt. muss ich die filialen bei google anmelden damit die erst angezeigt werden oder geht das auch ohne, eben ausschließlich mit den koordinaten?
Vielen Dank!