<?xml version="1.0" encoding="UTF-8"?><rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
> <channel><title>Comments on: How to Use Directions with Google Maps API V3</title> <atom:link href="http://stiern.com/tutorials/how-to-use-directions-with-google-maps-api-v3/feed" rel="self" type="application/rss+xml" /><link>http://stiern.com/tutorials/how-to-use-directions-with-google-maps-api-v3</link> <description>Web design, graphic design, Photoshop, CSS, etc</description> <lastBuildDate>Wed, 08 Sep 2010 18:21:43 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.0.1</generator> <item><title>By: DrLightman</title><link>http://stiern.com/tutorials/how-to-use-directions-with-google-maps-api-v3/comment-page-1#comment-7540</link> <dc:creator>DrLightman</dc:creator> <pubDate>Fri, 06 Aug 2010 13:35:21 +0000</pubDate> <guid
isPermaLink="false">http://stiern.com/?p=801#comment-7540</guid> <description>Thanks for the guide, didi you forgot to include the calcRoute() function?function calcRoute() {
var start = document.getElementById(&quot;start&quot;).value;
var end = document.getElementById(&quot;end&quot;).value;
var request = {
origin:start,
destination:end,
travelMode: google.maps.DirectionsTravelMode.DRIVING
};
directionsService.route(request, function(result, status) {
if (status == google.maps.DirectionsStatus.OK) {
directionsDisplay.setDirections(result);
}
});
}</description> <content:encoded><![CDATA[<p>Thanks for the guide, didi you forgot to include the calcRoute() function?</p><p>function calcRoute() {<br
/> var start = document.getElementById(&#8220;start&#8221;).value;<br
/> var end = document.getElementById(&#8220;end&#8221;).value;<br
/> var request = {<br
/> origin:start,<br
/> destination:end,<br
/> travelMode: google.maps.DirectionsTravelMode.DRIVING<br
/> };<br
/> directionsService.route(request, function(result, status) {<br
/> if (status == google.maps.DirectionsStatus.OK) {<br
/> directionsDisplay.setDirections(result);<br
/> }<br
/> });<br
/> }</p> ]]></content:encoded> </item> <item><title>By: Robert</title><link>http://stiern.com/tutorials/how-to-use-directions-with-google-maps-api-v3/comment-page-1#comment-7040</link> <dc:creator>Robert</dc:creator> <pubDate>Tue, 22 Jun 2010 14:31:25 +0000</pubDate> <guid
isPermaLink="false">http://stiern.com/?p=801#comment-7040</guid> <description>Hi,
On: http://www.occ-online.nl/test_googlemaps.html i&#039;ve placed the provided source code.
It works great for the map and markers, but the directions(road) don&#039;t show up.
Could someone please help me!Robert</description> <content:encoded><![CDATA[<p>Hi,<br
/> On: <a
href="http://www.occ-online.nl/test_googlemaps.html" rel="nofollow">http://www.occ-online.nl/test_googlemaps.html</a> i&#8217;ve placed the provided source code.<br
/> It works great for the map and markers, but the directions(road) don&#8217;t show up.<br
/> Could someone please help me!</p><p>Robert</p> ]]></content:encoded> </item> <item><title>By: Robert</title><link>http://stiern.com/tutorials/how-to-use-directions-with-google-maps-api-v3/comment-page-1#comment-7039</link> <dc:creator>Robert</dc:creator> <pubDate>Tue, 22 Jun 2010 13:56:57 +0000</pubDate> <guid
isPermaLink="false">http://stiern.com/?p=801#comment-7039</guid> <description>Miguel,
Please post your solution, i&#039;ve got the same problem.
Thanks!
Robert</description> <content:encoded><![CDATA[<p>Miguel,<br
/> Please post your solution, i&#8217;ve got the same problem.<br
/> Thanks!<br
/> Robert</p> ]]></content:encoded> </item> <item><title>By: Brendan</title><link>http://stiern.com/tutorials/how-to-use-directions-with-google-maps-api-v3/comment-page-1#comment-6611</link> <dc:creator>Brendan</dc:creator> <pubDate>Thu, 27 May 2010 15:26:09 +0000</pubDate> <guid
isPermaLink="false">http://stiern.com/?p=801#comment-6611</guid> <description>Hi. Very helpful tutorial. I have a mini-site where the user enters the start-point and the end-point. Google draws the journey. Good so far.The markers for the start and end are A and B. Can I change these?? How?? Any help appreciated.</description> <content:encoded><![CDATA[<p>Hi. Very helpful tutorial. I have a mini-site where the user enters the start-point and the end-point. Google draws the journey. Good so far.</p><p>The markers for the start and end are A and B. Can I change these?? How?? Any help appreciated.</p> ]]></content:encoded> </item> <item><title>By: Miguel Costa</title><link>http://stiern.com/tutorials/how-to-use-directions-with-google-maps-api-v3/comment-page-1#comment-5851</link> <dc:creator>Miguel Costa</dc:creator> <pubDate>Mon, 19 Apr 2010 17:08:59 +0000</pubDate> <guid
isPermaLink="false">http://stiern.com/?p=801#comment-5851</guid> <description>Forget it! I solved both situations.
Thanks again for your nice work ;-)</description> <content:encoded><![CDATA[<p>Forget it! I solved both situations.<br
/> Thanks again for your nice work <img
src='http://stiern.com/site/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /></p> ]]></content:encoded> </item> <item><title>By: Miguel</title><link>http://stiern.com/tutorials/how-to-use-directions-with-google-maps-api-v3/comment-page-1#comment-5848</link> <dc:creator>Miguel</dc:creator> <pubDate>Mon, 19 Apr 2010 15:19:53 +0000</pubDate> <guid
isPermaLink="false">http://stiern.com/?p=801#comment-5848</guid> <description>Hi,Sorry I&#039;m new on this. I tried to use your code but in the map I can&#039;t get the direction shown as you can see:http://redebiz.net/site/teste/Besides I would like to define start and end through coordinates I take elsewere. Is it possible to have something like this?var wp = new Array(2);
wp[0] = &quot;38.7166055000891,-9.153757820129395&quot;;
wp[1] = &quot;38.7126055000891,-9.163757820129395&quot;;
var start = wp[0];
var end   = wp[1];
var request = {
origin:start,
destination:end,(Of course wp[0] and wp[1] have no direct values but those given by the variables).Thank you for your attention,Miguel</description> <content:encoded><![CDATA[<p>Hi,</p><p>Sorry I&#8217;m new on this. I tried to use your code but in the map I can&#8217;t get the direction shown as you can see:</p><p><a
href="http://redebiz.net/site/teste/" rel="nofollow">http://redebiz.net/site/teste/</a></p><p>Besides I would like to define start and end through coordinates I take elsewere. Is it possible to have something like this?</p><p>var wp = new Array(2);<br
/> wp[0] = &#8220;38.7166055000891,-9.153757820129395&#8243;;<br
/> wp[1] = &#8220;38.7126055000891,-9.163757820129395&#8243;;<br
/> var start = wp[0];<br
/> var end   = wp[1];<br
/> var request = {<br
/> origin:start,<br
/> destination:end,</p><p>(Of course wp[0] and wp[1] have no direct values but those given by the variables).</p><p>Thank you for your attention,</p><p>Miguel</p> ]]></content:encoded> </item> <item><title>By: Creative Nuts</title><link>http://stiern.com/tutorials/how-to-use-directions-with-google-maps-api-v3/comment-page-1#comment-5132</link> <dc:creator>Creative Nuts</dc:creator> <pubDate>Sun, 14 Mar 2010 20:54:19 +0000</pubDate> <guid
isPermaLink="false">http://stiern.com/?p=801#comment-5132</guid> <description>Great tips. we will give it  a try. :)</description> <content:encoded><![CDATA[<p>Great tips. we will give it  a try. <img
src='http://stiern.com/site/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p> ]]></content:encoded> </item> <item><title>By: touwal</title><link>http://stiern.com/tutorials/how-to-use-directions-with-google-maps-api-v3/comment-page-1#comment-4760</link> <dc:creator>touwal</dc:creator> <pubDate>Fri, 26 Feb 2010 15:38:37 +0000</pubDate> <guid
isPermaLink="false">http://stiern.com/?p=801#comment-4760</guid> <description>Merci mille fois!!!</description> <content:encoded><![CDATA[<p>Merci mille fois!!!</p> ]]></content:encoded> </item> <item><title>By: Santi</title><link>http://stiern.com/tutorials/how-to-use-directions-with-google-maps-api-v3/comment-page-1#comment-4294</link> <dc:creator>Santi</dc:creator> <pubDate>Thu, 04 Feb 2010 14:05:41 +0000</pubDate> <guid
isPermaLink="false">http://stiern.com/?p=801#comment-4294</guid> <description>thnx for this great tutorial, it has come very handy along your previous one &quot;Adding Custom Google Maps to Your Website&quot;. It&#039;s  very simple and straight to the point!I have one question though, is there any way of adding a &quot;waypoint&quot; between the &quot;start&quot; and &quot;end&quot; addresses when calculating a route??The problem is that I&#039;ve added a map to my site, but it&#039;s calculating the route through the wrong roads, and I&#039;d like to set which towns and roads it should go through, to set the best path for my clients.I know this is possible, but I haven&#039;t figured out how to implement it yet, as I&#039;m no javascript expert....thnx in advance</description> <content:encoded><![CDATA[<p>thnx for this great tutorial, it has come very handy along your previous one &#8220;Adding Custom Google Maps to Your Website&#8221;. It&#8217;s  very simple and straight to the point!</p><p>I have one question though, is there any way of adding a &#8220;waypoint&#8221; between the &#8220;start&#8221; and &#8220;end&#8221; addresses when calculating a route??</p><p>The problem is that I&#8217;ve added a map to my site, but it&#8217;s calculating the route through the wrong roads, and I&#8217;d like to set which towns and roads it should go through, to set the best path for my clients.</p><p>I know this is possible, but I haven&#8217;t figured out how to implement it yet, as I&#8217;m no javascript expert&#8230;.</p><p>thnx in advance</p> ]]></content:encoded> </item> <item><title>By: hudz</title><link>http://stiern.com/tutorials/how-to-use-directions-with-google-maps-api-v3/comment-page-1#comment-4237</link> <dc:creator>hudz</dc:creator> <pubDate>Tue, 02 Feb 2010 02:27:15 +0000</pubDate> <guid
isPermaLink="false">http://stiern.com/?p=801#comment-4237</guid> <description>Great tut. How do you get multiple direction in one map? (e.g. A &gt; B &gt; C). thanks.</description> <content:encoded><![CDATA[<p>Great tut. How do you get multiple direction in one map? (e.g. A &gt; B &gt; C). thanks.</p> ]]></content:encoded> </item> </channel> </rss> <br
/> <b>Fatal error</b>:  Cannot redeclare class JSMin in <b>/home/www/stiern.com/site/wp-content/plugins/w3-total-cache/lib/Minify/JSMin.php</b> on line <b>53</b><br
/>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (enhanced) (user agent is rejected)
Database Caching 6/26 queries in 0.033 seconds using disk

Served from: stiern.com @ 2010-09-09 21:27:48 -->