<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Full screen route maps with elevations</title>
	<atom:link href="http://note19.com/2007/12/01/full-screen-route-maps-with-elevations/feed/" rel="self" type="application/rss+xml" />
	<link>http://note19.com/2007/12/01/full-screen-route-maps-with-elevations/</link>
	<description></description>
	<lastBuildDate>Fri, 03 Feb 2012 07:15:50 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: jorge orengo</title>
		<link>http://note19.com/2007/12/01/full-screen-route-maps-with-elevations/#comment-4203</link>
		<dc:creator><![CDATA[jorge orengo]]></dc:creator>
		<pubDate>Sat, 12 Mar 2011 00:45:21 +0000</pubDate>
		<guid isPermaLink="false">http://note19.com/2007/12/01/full-screen-route-maps-with-elevations/#comment-4203</guid>
		<description><![CDATA[Dear,

all examples are based on the book adobe flex?

Best Regards,]]></description>
		<content:encoded><![CDATA[<p>Dear,</p>
<p>all examples are based on the book adobe flex?</p>
<p>Best Regards,</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bob</title>
		<link>http://note19.com/2007/12/01/full-screen-route-maps-with-elevations/#comment-2965</link>
		<dc:creator><![CDATA[bob]]></dc:creator>
		<pubDate>Sun, 18 Apr 2010 07:50:13 +0000</pubDate>
		<guid isPermaLink="false">http://note19.com/2007/12/01/full-screen-route-maps-with-elevations/#comment-2965</guid>
		<description><![CDATA[&quot;var c : Number = 2.0 * Math.atan2(Math.sqrt(a), Math.sqrt(1-a));&quot; can be simplified to &quot;var c : Number = 2.0 * Math.asin(Math.sqrt(a));&quot;]]></description>
		<content:encoded><![CDATA[<p>&#8220;var c : Number = 2.0 * Math.atan2(Math.sqrt(a), Math.sqrt(1-a));&#8221; can be simplified to &#8220;var c : Number = 2.0 * Math.asin(Math.sqrt(a));&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shahram Javey</title>
		<link>http://note19.com/2007/12/01/full-screen-route-maps-with-elevations/#comment-2810</link>
		<dc:creator><![CDATA[Shahram Javey]]></dc:creator>
		<pubDate>Mon, 23 Nov 2009 21:53:58 +0000</pubDate>
		<guid isPermaLink="false">http://note19.com/2007/12/01/full-screen-route-maps-with-elevations/#comment-2810</guid>
		<description><![CDATA[Hello Doug,

Thank you. Sure lets do a ride together. 

Shahram]]></description>
		<content:encoded><![CDATA[<p>Hello Doug,</p>
<p>Thank you. Sure lets do a ride together. </p>
<p>Shahram</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Doug</title>
		<link>http://note19.com/2007/12/01/full-screen-route-maps-with-elevations/#comment-2808</link>
		<dc:creator><![CDATA[Doug]]></dc:creator>
		<pubDate>Mon, 23 Nov 2009 19:42:31 +0000</pubDate>
		<guid isPermaLink="false">http://note19.com/2007/12/01/full-screen-route-maps-with-elevations/#comment-2808</guid>
		<description><![CDATA[Shahram

I wanted to say thanks for the flex maps code, I&#039;ve been trying figure out how to do flex map elevations and yours was the only site that had quality information.  If you don&#039;t mind, I&#039;m putting it into a little Rails application and will make it available when it gets close.

It also looks like we ride the same routes, I do kennedy, st. josephs, etc all the time.  Let me know if you want to catch up for a ride sometime.

Cheers,
Doug]]></description>
		<content:encoded><![CDATA[<p>Shahram</p>
<p>I wanted to say thanks for the flex maps code, I&#8217;ve been trying figure out how to do flex map elevations and yours was the only site that had quality information.  If you don&#8217;t mind, I&#8217;m putting it into a little Rails application and will make it available when it gets close.</p>
<p>It also looks like we ride the same routes, I do kennedy, st. josephs, etc all the time.  Let me know if you want to catch up for a ride sometime.</p>
<p>Cheers,<br />
Doug</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: valmers</title>
		<link>http://note19.com/2007/12/01/full-screen-route-maps-with-elevations/#comment-2233</link>
		<dc:creator><![CDATA[valmers]]></dc:creator>
		<pubDate>Mon, 02 Mar 2009 10:24:57 +0000</pubDate>
		<guid isPermaLink="false">http://note19.com/2007/12/01/full-screen-route-maps-with-elevations/#comment-2233</guid>
		<description><![CDATA[Genius!
We have been trying to solve the problem of html rendering in flex - and flex sorely lacks in this capability.. we simply used the iframe like you have  - with flex context-menu on top of it - and got and things working. 

Great Job!!!!!!!!!!!!!]]></description>
		<content:encoded><![CDATA[<p>Genius!<br />
We have been trying to solve the problem of html rendering in flex &#8211; and flex sorely lacks in this capability.. we simply used the iframe like you have  &#8211; with flex context-menu on top of it &#8211; and got and things working. </p>
<p>Great Job!!!!!!!!!!!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lalo</title>
		<link>http://note19.com/2007/12/01/full-screen-route-maps-with-elevations/#comment-1656</link>
		<dc:creator><![CDATA[Lalo]]></dc:creator>
		<pubDate>Tue, 27 May 2008 08:29:17 +0000</pubDate>
		<guid isPermaLink="false">http://note19.com/2007/12/01/full-screen-route-maps-with-elevations/#comment-1656</guid>
		<description><![CDATA[Brilliant!
You&#039;re a genius :)
It&#039;s working now, thanks a lot!]]></description>
		<content:encoded><![CDATA[<p>Brilliant!<br />
You&#8217;re a genius <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
It&#8217;s working now, thanks a lot!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sj</title>
		<link>http://note19.com/2007/12/01/full-screen-route-maps-with-elevations/#comment-1654</link>
		<dc:creator><![CDATA[sj]]></dc:creator>
		<pubDate>Sun, 25 May 2008 20:35:51 +0000</pubDate>
		<guid isPermaLink="false">http://note19.com/2007/12/01/full-screen-route-maps-with-elevations/#comment-1654</guid>
		<description><![CDATA[I added this script (called http://javey.net/cgi-bin/gd.sh) to proxy requests from javey.net domain to an arbitrary domain. 
&lt;code&gt;
#!/bin/sh

echo &quot;Content-Type: text/xml&quot;
echo &quot;&quot;
curl $1
&lt;/code&gt;
In the HTML wrapper for the Google maps page, I updated the URL to the GPX data to go thru this script. Specifically, I updated the &quot;load&quot; function and updated the URL:
&lt;code&gt;
function load() {
    var gpx = gup(&quot;gpx&quot;)
    gpxUrl = (gpx == &quot;&quot;) ? gpxUrl : gpx;
    gpxUrl = &quot;http://javey.net/cgi-bin/gd.sh?&quot;+gpxUrl;
...
&lt;/code&gt;
Now it should be possible to use the player6 to display your very own GPX data, as in:

&lt;code&gt;
http://javey.net/bike/map/player6/map.html?gpx=URL-to-your-gpx-data&amp;title=title-of-ride-without-spaces&amp;resize=1
&lt;/code&gt;
]]></description>
		<content:encoded><![CDATA[<p>I added this script (called <a href="http://javey.net/cgi-bin/gd.sh" rel="nofollow">http://javey.net/cgi-bin/gd.sh</a>) to proxy requests from javey.net domain to an arbitrary domain.<br />
<code><br />
#!/bin/sh</p>
<p>echo "Content-Type: text/xml"<br />
echo ""<br />
curl $1<br />
</code><br />
In the HTML wrapper for the Google maps page, I updated the URL to the GPX data to go thru this script. Specifically, I updated the &#8220;load&#8221; function and updated the URL:<br />
<code><br />
function load() {<br />
    var gpx = gup("gpx")<br />
    gpxUrl = (gpx == "") ? gpxUrl : gpx;<br />
    gpxUrl = "http://javey.net/cgi-bin/gd.sh?"+gpxUrl;<br />
...<br />
</code><br />
Now it should be possible to use the player6 to display your very own GPX data, as in:</p>
<p><code><br />
<a href="http://javey.net/bike/map/player6/map.html?gpx=URL-to-your-gpx-data&#038;title=title-of-ride-without-spaces&#038;resize=1" rel="nofollow">http://javey.net/bike/map/player6/map.html?gpx=URL-to-your-gpx-data&#038;title=title-of-ride-without-spaces&#038;resize=1</a><br />
</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sj</title>
		<link>http://note19.com/2007/12/01/full-screen-route-maps-with-elevations/#comment-1653</link>
		<dc:creator><![CDATA[sj]]></dc:creator>
		<pubDate>Sun, 25 May 2008 03:21:49 +0000</pubDate>
		<guid isPermaLink="false">http://note19.com/2007/12/01/full-screen-route-maps-with-elevations/#comment-1653</guid>
		<description><![CDATA[Hi, Lalo,

I was wrong. The problem has nothing to do with file extensions. I forgot that Flash player &lt;a href=&quot;http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_14213&amp;sliceId=1#load&quot; rel=&quot;nofollow&quot;&gt;does not allow&lt;/a&gt; a Flash movie (read a flex application) to load XML data from another domain. There appears to be a couple of &lt;a href=&quot;http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_16520&amp;sliceId=1&quot; rel=&quot;nofollow&quot;&gt;workarounds&lt;/a&gt;. Basically, I would have to write a script to proxy requests to get the data from other domain. For example, in order to get the XML data from googlepages.com, the Flash player will call this script to get the data from the same domain -- javey.net. The script on javey.net, then gets the XML data from googlepages.com and passes it to the Flash Player.

I&#039;ll try to write this script as soon as I get a break from other projects. Thanks!]]></description>
		<content:encoded><![CDATA[<p>Hi, Lalo,</p>
<p>I was wrong. The problem has nothing to do with file extensions. I forgot that Flash player <a href="http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_14213&amp;sliceId=1#load" rel="nofollow">does not allow</a> a Flash movie (read a flex application) to load XML data from another domain. There appears to be a couple of <a href="http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_16520&amp;sliceId=1" rel="nofollow">workarounds</a>. Basically, I would have to write a script to proxy requests to get the data from other domain. For example, in order to get the XML data from googlepages.com, the Flash player will call this script to get the data from the same domain &#8212; javey.net. The script on javey.net, then gets the XML data from googlepages.com and passes it to the Flash Player.</p>
<p>I&#8217;ll try to write this script as soon as I get a break from other projects. Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lalo</title>
		<link>http://note19.com/2007/12/01/full-screen-route-maps-with-elevations/#comment-1652</link>
		<dc:creator><![CDATA[Lalo]]></dc:creator>
		<pubDate>Sat, 24 May 2008 17:48:37 +0000</pubDate>
		<guid isPermaLink="false">http://note19.com/2007/12/01/full-screen-route-maps-with-elevations/#comment-1652</guid>
		<description><![CDATA[Hi, SJ,
Sorry, I&#039;ve only found your e-mail now, it went to the junk e-mail box by mistake.
I&#039;ve tried changing the extensions, but that didn&#039;t work either...
The files with the extensions you recommended should still be at my googlepages.
Thanks for trying!
Cheers!]]></description>
		<content:encoded><![CDATA[<p>Hi, SJ,<br />
Sorry, I&#8217;ve only found your e-mail now, it went to the junk e-mail box by mistake.<br />
I&#8217;ve tried changing the extensions, but that didn&#8217;t work either&#8230;<br />
The files with the extensions you recommended should still be at my googlepages.<br />
Thanks for trying!<br />
Cheers!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sj</title>
		<link>http://note19.com/2007/12/01/full-screen-route-maps-with-elevations/#comment-1647</link>
		<dc:creator><![CDATA[sj]]></dc:creator>
		<pubDate>Sat, 17 May 2008 18:47:17 +0000</pubDate>
		<guid isPermaLink="false">http://note19.com/2007/12/01/full-screen-route-maps-with-elevations/#comment-1647</guid>
		<description><![CDATA[I looked at this problem today and looks like there must be a bug in the Action Script code that is reading the .gpx file. I don&#039;t have Flex Builder on this machine so I cant look at it today. But the problem is with the Content-Type that is returned from the googlepages.com server. For .gpx file the Content-Type is set to application/octet-stream, this doesn&#039;t seem to work with the way I&#039;m reading the file from Flex, try changing the extension from .gpx to .xml to .txt, and it should work. Let me know if this works.]]></description>
		<content:encoded><![CDATA[<p>I looked at this problem today and looks like there must be a bug in the Action Script code that is reading the .gpx file. I don&#8217;t have Flex Builder on this machine so I cant look at it today. But the problem is with the Content-Type that is returned from the googlepages.com server. For .gpx file the Content-Type is set to application/octet-stream, this doesn&#8217;t seem to work with the way I&#8217;m reading the file from Flex, try changing the extension from .gpx to .xml to .txt, and it should work. Let me know if this works.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

