chaoley / gmaps-samples

Automatically exported from code.google.com/p/gmaps-samples
0 stars 0 forks source link

meuappcaio #15

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
<?xml version="1.0" encoding="UTF-8"?>
<Module>
<ModulePrefs title="The Hello World of Mapplets"
             description="Displays a Hello World message on the map!"
             author="Your name"
             author_email="your-email@gmail.com"
             height="150">
  <Require feature="sharedmap"/>
</ModulePrefs>
<Content type="html"><![CDATA[

<h2>Hello World!</h2>

<script>
  // Center the map in the Mediterranean and zoom out to a world view
  var map = new GMap2();
  var point = new GLatLng(37.71859, 6.679688);
  map.setCenter(point, 2);

  // Add a marker to the center of the map
  var marker = new GMarker(point);
  map.addOverlay(marker);

  // Open a "Hello World" info window
  var message = "Hello World!";
  marker.openInfoWindowHtml(message);
</script>

]]></Content>
</Module>

Original issue reported on code.google.com by crox415@gmail.com on 14 Jan 2010 at 11:06

GoogleCodeExporter commented 9 years ago

Original comment by crox415@gmail.com on 14 Jan 2010 at 11:08

Attachments: