Google map Markers
<p>I'am trying to insert a google map in my application.</p>

<p>I want to mark the location from source to destination, both of them provided.</p>

<p>I am totally new to JavaScript so please help me with this.</p>

<p>The code that I'am using now is:</p>

<pre><code>   &lt;script type="text/javascript"&gt;

        function initialize()
         {
             if (GBrowserIsCompatible()) {
            var map = new GMap2(document.getElementById("map_canvas"));
            map.setCenter(new GLatLng(37.4419, -122.1419), 13);
            var polyline = new GPolyline([
            new GLatLng(37.4419, -122.1419),
            new GLatLng(37.4519, -122.1519)
            ], "#ff0000", 10);
            map.addOverlay(polyline);
            }
        }​​
&lt;/script&gt;
</code></pre>

<p>How to import the google api related to this code?</p>
