To plot GPS data on google maps like in my previous entry, I used this great piece of software.

SportTracks FTPPlugin

The configiration dialog is:



  1. Roller Weblogger, which runs blogs.sun.com, apparently doesn't accept ftp upload. So, don't bother setting ftp dir/username.
  2. Google Maps API key: I think I could have asked our blogs.sun.com administrator to get blogs.sun.com wide key. Instead, I created my personal key. Below is the response from http://code.google.com/apis/maps


Thank you for signing up for a Google Maps API key!

Your key is:

JUNKJUNKlToFQeUTOysX7DNx0_kl4hSxWa86HAc71oxYJfiYpUgzDrZrbBR6oDBJ8KNrUiDx5iR2Pnu123456w

This key is good for all URLs in this directory:

http://blogs.sun.com/LetTheSunShineIn/resource/

Here is an example web page to get you started on your way to mapping glory:

<!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 http-equiv="content-type" content="text/html; charset=utf-8"/>
    <title>Google Maps JavaScript API Example</title>
    <script src="http://maps.google.com/maps?file=api&amp;v=2&amp;key=JUNKJUNKlToFQeUTOysX7DNx0_kl4hSxWa86HAc71oxYJfiYpUgzDrZrbBR6oDBJ8KNrUiDx5iR2Pnu123456w"
      type="text/javascript"></script>
    <script type="text/javascript">

//<![CDATA[
function load() { if (GBrowserIsCompatible()) { var map = new GMap2(document.getElementById("map")); map.setCenter(new GLatLng(37.4419, -122.1419), 13); } }
//]]> </script> </head> <body onload="load()" onunload="GUnload()"> <div id="map" style="width: 500px; height: 300px"></div> </body> </html>

Check out the API documentation for more information.

Comments:

Post a Comment:
  • HTML Syntax: NOT allowed

This blog copyright 2009 by Katsumi Inoue