Map not showing in WP 3.6.1
-
Maybe it ist the same issue as some people before, but I am not sure. I have a map with two markers. The map is not showing up although javascript is generated:
<script type="text/javascript"> var map_points_canvas_0Lv5gW = new Array(); map_points_canvas_0Lv5gW[0] = {"address":"Raimundstraße 34, 60431 Frankfurt, Deutschland", "lat":"50.1427", "lng":"8.65668", "info":"<div style='margin:0; padding:0px; height:125px; width:310px; overflow:hidden; font-size:11px; clear:both; line-height:13px;'><div style='float:left; width:200px'><a class='title' href="https://www.frankfurter-glueck.de/karte/" style='clear:both; display:block; font-size:12px; line-height: 18px; font-weight:bold;'>Frankfurter Glück</a><div><strong style='font-size:9px'>Raimundstraße 34, 60431 Frankfurt, Deutschland</strong></div><div style='font-size:10px'>Die Gemeinschaft der Zukunft</div><a href="https://www.frankfurter-glueck.de/karte/" style='font-size:11px; float:left; display:block'>more ?</a><img src='https://www.frankfurter-glueck.de/wp-content/plugins/google-map-shortcode/images/open.jpg' style='float: right; margin-right:5px'/> <a href="https://maps.google.com/?q=Raimundstra%26szlig%3Be+34%2C+60431+Frankfurt%2C+Deutschland" onclick="javascript:_gaq.push(['_trackEvent','outbound-article','https://maps.google.com']);" target='_blank' style='font-size:11px; float: right; display:block;'>Open Map</a></div><div style='float:left'><a title='https://www.frankfurter-glueck.de/karte/' href="https://www.frankfurter-glueck.de/karte/" ><img src='https://www.frankfurter-glueck.de/wp-content/uploads/2013/10/20130524_095421kl-150x150.jpg' style='margin:8px 0 0 8px; width:90px; height:90px'/></a></div></div>", "cat":"", "icon":"https://www.frankfurter-glueck.de/wp-content/plugins/google-map-shortcode/images/icons/sunny.png"}; map_points_canvas_0Lv5gW[1] = {"address":"Bornwiesenweg, 60322 Frankfurt, Deutschland", "lat":"50.1224148", "lng":"8.6784658", "info":"<div style='margin:0; padding:0px; height:125px; width:310px; overflow:hidden; font-size:11px; clear:both; line-height:13px;'><div style='float:left; width:200px'><a class='title' href="https://www.frankfurter-glueck.de/karte/" style='clear:both; display:block; font-size:12px; line-height: 18px; font-weight:bold;'>Frankfurter Glück</a><div><strong style='font-size:9px'>Bornwiesenweg, 60322 Frankfurt, Deutschland</strong></div><div style='font-size:10px'>Die Gemeinschaft der ZukunftJürgen König</div><a href="https://www.frankfurter-glueck.de/karte/" style='font-size:11px; float:left; display:block'>more ?</a><img src='https://www.frankfurter-glueck.de/wp-content/plugins/google-map-shortcode/images/open.jpg' style='float: right; margin-right:5px'/> <a href="https://maps.google.com/?q=Bornwiesenweg%2C+60322+Frankfurt%2C+Deutschland" onclick="javascript:_gaq.push(['_trackEvent','outbound-article','https://maps.google.com']);" target='_blank' style='font-size:11px; float: right; display:block;'>Open Map</a></div><div style='float:left'><a title='https://www.frankfurter-glueck.de/karte/' href="https://www.frankfurter-glueck.de/karte/" ><img src='https://www.frankfurter-glueck.de/wp-content/uploads/2013/10/20130524_095421kl-150x150.jpg' style='margin:8px 0 0 8px; width:90px; height:90px'/></a></div></div>", "cat":"", "icon":"https://www.frankfurter-glueck.de/wp-content/plugins/google-map-shortcode/images/icons/sunny.png"}; var options_canvas_0Lv5gW = { 'mapID':'map_canvas_0Lv5gW', 'zoom':10, 'markers':map_points_canvas_0Lv5gW, 'mapContainer':'canvas_0Lv5gW', 'focusType':'open', 'type':'ROADMAP', 'animateMarkers':true, 'interval':'5000' }; var map_canvas_0Lv5gW = new gmshc.Map(options_canvas_0Lv5gW); var trigger_canvas_0Lv5gW = function(){map_canvas_0Lv5gW.init()}; gmshc.addLoadEvent(trigger_canvas_0Lv5gW); </script> <div id="canvas_CTrefE" class = "gmsc" style="width:300pxpx; height:300pxpx; clear:both; overflow:hidden; margin:10px auto;"></div><script type="text/javascript"> var map_points_canvas_CTrefE = new Array(); map_points_canvas_CTrefE[0] = {"address":"3 Rue du Louvre, 75001 Paris, Frankreich", "lat":"48.8616212", "lng":"2.3410489", "info":"<div style='margin:0; padding:0px; height:125px; width:310px; overflow:hidden; font-size:11px; clear:both; line-height:13px;'><div style='float:left; width:200px'><a class='title' href="' style='clear:both; display:block; font-size:12px; line-height: 18px; font-weight:bold;'></a><div><strong style='font-size:9px'>3 Rue du Louvre, 75001 Paris, Frankreich</strong></div><div style='font-size:10px'></div><a href='' style='font-size:11px; float:left; display:block'>more ?</a><img src='https://www.frankfurter-glueck.de/wp-content/plugins/google-map-shortcode/images/open.jpg" style='float: right; margin-right:5px'/> <a href='https://maps.google.com/?q=3+Rue+du+Louvre%2C+75001+Paris%2C+Frankreich' target='_blank' style='font-size:11px; float: right; display:block;'>Open Map</a></div><div style='float:left'><a title='' href="'><img src='https://www.frankfurter-glueck.de/wp-content/uploads/2013/10/Frankfurter-Glück-150x150.jpg" style='margin:8px 0 0 8px; width:90px; height:90px'/></a></div></div>", "cat":"", "icon":"https://www.frankfurter-glueck.de/wp-content/plugins/google-map-shortcode/images/icons/marker.png"}; var options_canvas_CTrefE = { 'mapID':'map_canvas_CTrefE', 'zoom':10, 'markers':map_points_canvas_CTrefE, 'mapContainer':'canvas_CTrefE', 'focusType':'open', 'type':'ROADMAP', 'animateMarkers':true, 'interval':'5000' }; var map_canvas_CTrefE = new gmshc.Map(options_canvas_CTrefE); var trigger_canvas_CTrefE = function(){map_canvas_CTrefE.init()}; gmshc.addLoadEvent(trigger_canvas_CTrefE); </script> </p>
- The topic ‘Map not showing in WP 3.6.1’ is closed to new replies.