I have same problem in template.
See http://www.sitopiupiu.it/directory/contact.php
Clicking on "clicca qui".
The popup appear completly white.

Code:

<!-- BEGINIF $tpl_mode == 'gmap' -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
<html xmlns="http://www.w3.org/1999/xhtml";>
<head>
<meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
<script type="text/javascript" 
src="http://maps.google.com/maps/api/js?sensor=false";></script>
<title>{$site_name}</title>
<style type="text/css">
 html { height: 100% }
  body { margin: 0; padding: 0; font: 10pt Arial, Helvetica }
  #map { height: 100% }
</style>

<script type="text/javascript">
  //<![CDATA[
{literal}
function initialize() {
    var latlng = new google.maps.LatLng(43.983349, 10.183133);
    var options = {
      zoom: 8,
      center: latlng,
      mapTypeId: google.maps.MapTypeId.ROADMAP
    };
    var map = new google.maps.Map(document.getElementById("map"), options);
    var marker = new google.maps.Marker({ position: latlng,
                                      map: map,
                                      title: 'Testo di suggerimento' });
  }
{/literal}      
//]]>
</script>
</head>
<body onload="initialize()">
  <div id="map" style="width:500px; height: 300px"></div>
</body>
</html>
<!-- ENDIF -->

Other code 

<script type="text/javascript">
<!--
if ({$gmap_enabled} == 1)
document.writeln ('<p style="margin-bottom:30px"><a 
href="contact.php?cmd=gmap" rel="#overlay" 
style="text-decoration:none;">Clicca qui<\/a> per una mappa 
interattiva.<\/p>');
-->
</script>

In HTML file, without Smarty sintax and last script, run fine in local and 
in remote.
Do I can made for run API in proper manner? 

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-maps-js-api-v3/-/uITQaJvUdb8J.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.

Reply via email to