<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>byCycle.org &#187; Google Maps</title>
	<atom:link href="http://info.bycycle.org/category/google-maps/feed/" rel="self" type="application/rss+xml" />
	<link>http://info.bycycle.org</link>
	<description>Get There by Cycle!</description>
	<lastBuildDate>Fri, 02 Sep 2011 07:28:45 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Lines as Long as You Like</title>
		<link>http://info.bycycle.org/2007/05/12/long-route-lines/</link>
		<comments>http://info.bycycle.org/2007/05/12/long-route-lines/#comments</comments>
		<pubDate>Sun, 13 May 2007 05:25:04 +0000</pubDate>
		<dc:creator>Wyatt</dc:creator>
				<category><![CDATA[Announcements]]></category>
		<category><![CDATA[Features]]></category>
		<category><![CDATA[Google Maps]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[Trip Planner]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://bycycle.org/2007/05/12/long-route-lines/</guid>
		<description><![CDATA[Today, inspired by a recent donation*, I finally got around to speeding up the display of long route lines (i.e., the line marking a route on the trip planner map). Previously, long route lines would take a long time to &#8230; <a href="http://info.bycycle.org/2007/05/12/long-route-lines/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Today, inspired by a recent donation*, I <a title="Previous blog post about adding support for long lines" href="http://bycycle.org/2007/04/20/scroll-wheel-zooming-added/">finally</a> got around to speeding up the display of long route lines (i.e., the line marking a route on the trip planner map). Previously, long route lines would take a long time to show up, and when a line was too long, it just wouldn&#8217;t show up at all, possibly crashing the user&#8217;s browser. Obviously not good.</p>
<p>What happened was, I got notification of a donation and saw that the person making the donation lives in Beaverton. I tried getting a route from Beaverton to downtown Portland, but the route never came up because the line was too long. I felt bad that someone had made a donation but might not even be able to get directions over a relatively short distance, so I got to work on fixing the problem.</p>
<p>So, skipping over <a title="Python code for encoding Google Maps polylines" href="https://bitbucket.org/wyatt/glineenc/src/tip/glineenc.py">the technical aspects</a>, I&#8217;ll just say that now it should be possible to get a route of just about any length. It still takes a while to generate a really long route, but once the route info gets back to the user&#8217;s browser, the line drawing is almost instantaneous. Even for short routes there&#8217;s a noticeable speedup.</p>
<p>This has been bugging me for a long time, so I&#8217;m glad it&#8217;s finally fixed. As usual, if you notice any problems, <a title="Feedback" href="http://info.bycycle.org/contact">please let us know</a>.</p>
<p>* Big thanks to Rebecca in Beaverton.</p>
]]></content:encoded>
			<wfw:commentRss>http://info.bycycle.org/2007/05/12/long-route-lines/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Scroll Wheel Zooming Added</title>
		<link>http://info.bycycle.org/2007/04/20/scroll-wheel-zooming-added/</link>
		<comments>http://info.bycycle.org/2007/04/20/scroll-wheel-zooming-added/#comments</comments>
		<pubDate>Fri, 20 Apr 2007 21:13:43 +0000</pubDate>
		<dc:creator>Wyatt</dc:creator>
				<category><![CDATA[Google Maps]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[Trip Planner]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://bycycle.org/2007/04/20/scroll-wheel-zooming-added/</guid>
		<description><![CDATA[A few days ago Google added scroll wheel zooming to their public maps API. Today, I enabled that feature in the trip planner. It was really simple, only requiring the addition of one line of JavaScript code. This feature has &#8230; <a href="http://info.bycycle.org/2007/04/20/scroll-wheel-zooming-added/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>A few days ago Google added scroll wheel zooming to their public maps API. Today, I enabled that feature in the trip planner. It was really simple, only requiring the addition of one line of JavaScript code.</p>
<p>This feature has been available on the official Google Maps site for a while, but it wasn&#8217;t available to third party developers until three days ago [1].</p>
<p>Another feature Google released recently is the ability to encode long lines for more efficient rendering. For long routes, this means the annoying &#8220;this script is taking a long time, do you want to continue popup&#8221; shouldn&#8217;t come up again.</p>
<p>We haven&#8217;t incorporated this into the trip planner yet but will some time in the next week or so (it&#8217;s a bit more complicated than adding scroll wheel zooming). I wrote <a href="http://blog.wyattbaldwin.com/2007/4/19/google-maps-encoded-polylines">some code</a> that does the line encoding; now I just need to set up the back end to encode lines before sending them to the Web.</p>
<p>[1] <a href="http://googlemapsapi.blogspot.com/2007/04/v278-go-ahead-scroll-your-mouse-wheels.html">Google Maps blog post about scroll wheel zooming</a></p>
]]></content:encoded>
			<wfw:commentRss>http://info.bycycle.org/2007/04/20/scroll-wheel-zooming-added/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

