THELIA Forum

Welcome to the THELIA support and discusssion forum

Announcement

Rejoignez la communauté sur le Discord Thelia : https://discord.gg/YgwpYEE3y3

Offline

#1 Google maps

(11-10-2009 17:43:21)


Hello, ce n'est pas trop l'endroit mais quelqu'un peut éventuellement m'aider.
J'ai un souci pour afficher un marqueur avec google maps

<div id="map" style="border: 1px solid black;
               width: 400px; height: 600px;
               margin-left: 20px; margin-top: 20px;">
<script type="text/javascript">
  google.load("maps", "2");
  function initialize() {
      var map = new google.maps.Map2(document.getElementById("map"));
      var point = new GPoint(46.053000, 4.720020);
      var marker = new GMarker(point);
      map.addOverlay(marker); 
      map.setCenter(new GLatLng(46.053000, 4.720020), 16);
  }
  google.setOnLoadCallback(initialize);
</script>
</div>

La carte s'affiche mais pas le marqueur.
Une idée ?
Merci


Thelia 1.5 - Plugins Homepage et Livre d'or
Le portail de Douarnenez http://www.dz-en-vie.com