Personal tools
    Visualizing the Census of Marine Life
  • Log in

CMarz People Map

Google Maps Settings

Map Dimension 800 * 500 (pixels)
Initial center location 0.0, 20.0
Initial zoom level 2
Google Maps API key Set

Three Easy Steps to Include Google Maps on Your Web

  1. Obtain a Google Maps API key for your project web site at http://code.google.com/apis/maps/signup.html.
  2. Go to the "Edit" tab and enter the parameters, including "Google Maps API key" and map width/height, center location and initial zoom. Save.
  3. Insert or edit the following lines into the HTML of the web page where you wish to display the map:
    <!-- Insert the following line in between the <HEAD> and </HEAD> sections. -->
    <script src="/work/cmarz/pmap/coml_init_js"></script>
    
    <!-- Add onload="loadScript();" to the <BODY> tag as the following.
    If your page already defines onload event, add loadScript() to it. --> <body onload="loadScript();"> <!-- Place the following <DIV> where you want Google Maps to appear. --> <div id="map_coml_mv"/>
    The simplest example:
    <html>
      <head>
        <script src="/work/cmarz/pmap/coml_init_js"></script>
      </head>
      <body onload="loadScript();">
        CoML Project Map
        <div id="map_coml_mv"/>
      </body>
    </html>
    Rendered below:
    CoML Project Map
Document Actions