<?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: Working With Google Maps</title>
	<atom:link href="http://meyerweb.com/eric/thoughts/2005/07/15/working-with-google-maps/feed/" rel="self" type="application/rss+xml" />
	<link>http://meyerweb.com/eric/thoughts/2005/07/15/working-with-google-maps/</link>
	<description>Things that Eric A. Meyer, CSS expert, writes about on his personal Web site; it&#039;s largely Web standards and Web technology, but also various bits of culture, politics, personal observations, and other miscellaneous stuff</description>
	<lastBuildDate>Fri, 10 May 2013 11:50:23 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
	<item>
		<title>By: Robert Allen</title>
		<link>http://meyerweb.com/eric/thoughts/2005/07/15/working-with-google-maps/#comment-315731</link>
		<dc:creator>Robert Allen</dc:creator>
		<pubDate>Wed, 06 Feb 2008 18:46:57 +0000</pubDate>
		<guid isPermaLink="false">http://meyerweb.com/eric/thoughts/2005/07/15/working-with-the-google-maps-api/#comment-315731</guid>
		<description><![CDATA[Cheers for the information man, this is quite handy. Circles are giving me grief as well as I need to display radii (er, hope that right) on the map as well.]]></description>
		<content:encoded><![CDATA[<p>Cheers for the information man, this is quite handy. Circles are giving me grief as well as I need to display radii (er, hope that right) on the map as well.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nick</title>
		<link>http://meyerweb.com/eric/thoughts/2005/07/15/working-with-google-maps/#comment-146127</link>
		<dc:creator>Nick</dc:creator>
		<pubDate>Wed, 02 May 2007 10:38:03 +0000</pubDate>
		<guid isPermaLink="false">http://meyerweb.com/eric/thoughts/2005/07/15/working-with-the-google-maps-api/#comment-146127</guid>
		<description><![CDATA[Pablo Veliz, if you want your circle to be round in all parts of the world your math is a bit wrong. Due to the conversion factor from angular coordinates to cartesian coordinates, it goes a bit elliptical. The below seems to work.


function mapCircle(lat,lng,radius)
{
    var points = [];
    x = lat;
    y = lng;
    r = radius;
    for (var i = 0; i ]]></description>
		<content:encoded><![CDATA[<p>Pablo Veliz, if you want your circle to be round in all parts of the world your math is a bit wrong. Due to the conversion factor from angular coordinates to cartesian coordinates, it goes a bit elliptical. The below seems to work.</p>
<p>function mapCircle(lat,lng,radius)<br />
{<br />
    var points = [];<br />
    x = lat;<br />
    y = lng;<br />
    r = radius;<br />
    for (var i = 0; i </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pablo Veliz</title>
		<link>http://meyerweb.com/eric/thoughts/2005/07/15/working-with-google-maps/#comment-76377</link>
		<dc:creator>Pablo Veliz</dc:creator>
		<pubDate>Fri, 15 Dec 2006 23:03:26 +0000</pubDate>
		<guid isPermaLink="false">http://meyerweb.com/eric/thoughts/2005/07/15/working-with-the-google-maps-api/#comment-76377</guid>
		<description><![CDATA[&lt;code&gt;
function mapCircle(lat,lng,radius)
{
&#160;&#160;&#160;&#160;var points = [];
&#160;&#160;&#160;&#160;x = lat;
&#160;&#160;&#160;&#160;y = lng;
&#160;&#160;&#160;&#160;r = radius;
&#160;&#160;&#160;&#160;for (var i = 0; i &lt; 37; i++) {
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;x1 = x+r*Math.cos(2*Math.PI*i/36);
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;y1 = y+r*Math.sin(2*Math.PI*i/36);
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;points.push(new GLatLng(x1,y1));
&#160;&#160;&#160;&#160;}
&#160;&#160;&#160;&#160;return points;
}

map.addOverlay(new GPolyline( mapCircle(18.30124,-73.65197,0.001) ));
&lt;/code&gt;

&lt;em&gt;// The code tag doesn´t seems to work fine&lt;/em&gt;]]></description>
		<content:encoded><![CDATA[<p><code><br />
function mapCircle(lat,lng,radius)<br />
{<br />
&nbsp;&nbsp;&nbsp;&nbsp;var points = [];<br />
&nbsp;&nbsp;&nbsp;&nbsp;x = lat;<br />
&nbsp;&nbsp;&nbsp;&nbsp;y = lng;<br />
&nbsp;&nbsp;&nbsp;&nbsp;r = radius;<br />
&nbsp;&nbsp;&nbsp;&nbsp;for (var i = 0; i &lt; 37; i++) {<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;x1 = x+r*Math.cos(2*Math.PI*i/36);<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;y1 = y+r*Math.sin(2*Math.PI*i/36);<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;points.push(new GLatLng(x1,y1));<br />
&nbsp;&nbsp;&nbsp;&nbsp;}<br />
&nbsp;&nbsp;&nbsp;&nbsp;return points;<br />
}</p>
<p>map.addOverlay(new GPolyline( mapCircle(18.30124,-73.65197,0.001) ));<br />
</code></p>
<p><em>// The code tag doesn´t seems to work fine</em></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: lectroid.net &#187; Blog Archive &#187; Google Maps and Kismet</title>
		<link>http://meyerweb.com/eric/thoughts/2005/07/15/working-with-google-maps/#comment-37545</link>
		<dc:creator>lectroid.net &#187; Blog Archive &#187; Google Maps and Kismet</dc:creator>
		<pubDate>Thu, 22 Jun 2006 04:16:28 +0000</pubDate>
		<guid isPermaLink="false">http://meyerweb.com/eric/thoughts/2005/07/15/working-with-the-google-maps-api/#comment-37545</guid>
		<description><![CDATA[[...] Using the XML output from Kismet we can plot APs. Ok, but why stop there? I took a look at a page covering circles on Google Maps and figured since Kismet records min and max power locations, it might be fun to assume a full circle with the max power in the center and the distance between the min and max points being the radius. It&#8217;s not really accurate, but it is very interesting as a visualation tool. [...]]]></description>
		<content:encoded><![CDATA[<p>[...] Using the XML output from Kismet we can plot APs. Ok, but why stop there? I took a look at a page covering circles on Google Maps and figured since Kismet records min and max power locations, it might be fun to assume a full circle with the max power in the center and the distance between the min and max points being the radius. It&#8217;s not really accurate, but it is very interesting as a visualation tool. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brandon Swift</title>
		<link>http://meyerweb.com/eric/thoughts/2005/07/15/working-with-google-maps/#comment-12248</link>
		<dc:creator>Brandon Swift</dc:creator>
		<pubDate>Fri, 13 Jan 2006 22:39:35 +0000</pubDate>
		<guid isPermaLink="false">http://meyerweb.com/eric/thoughts/2005/07/15/working-with-the-google-maps-api/#comment-12248</guid>
		<description><![CDATA[Cool app, Eric!  I was fishing around trying to find how google generates their polyline overlays and ran across this, which might be very helpful to you!

Apparently, google builds transparent png&#039;s for non-IE browsers, but &lt;a href=&quot;http://jibbering.com/blog/?p=179&quot; rel=&quot;nofollow&quot;&gt;this guy&lt;/a&gt; worked around it so that they are generated by SVG instead.  You can easily make filled circles and all sorts of other shapes with SVG (here&#039;s a &lt;a href=&quot;http://www.svgbasics.com/curves.html&quot; rel=&quot;nofollow&quot;&gt;tutorial&lt;/a&gt;.

Let me know if you get it working!!
-Brandon
]]></description>
		<content:encoded><![CDATA[<p>Cool app, Eric!  I was fishing around trying to find how google generates their polyline overlays and ran across this, which might be very helpful to you!</p>
<p>Apparently, google builds transparent png&#8217;s for non-IE browsers, but <a href="http://jibbering.com/blog/?p=179" rel="nofollow">this guy</a> worked around it so that they are generated by SVG instead.  You can easily make filled circles and all sorts of other shapes with SVG (here&#8217;s a <a href="http://www.svgbasics.com/curves.html" rel="nofollow">tutorial</a>.</p>
<p>Let me know if you get it working!!<br />
-Brandon</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Erik</title>
		<link>http://meyerweb.com/eric/thoughts/2005/07/15/working-with-google-maps/#comment-12047</link>
		<dc:creator>Erik</dc:creator>
		<pubDate>Sun, 08 Jan 2006 22:56:55 +0000</pubDate>
		<guid isPermaLink="false">http://meyerweb.com/eric/thoughts/2005/07/15/working-with-the-google-maps-api/#comment-12047</guid>
		<description><![CDATA[Interesting.. 

www.novelviews.com]]></description>
		<content:encoded><![CDATA[<p>Interesting.. </p>
<p><a href="http://www.novelviews.com" rel="nofollow">http://www.novelviews.com</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Patrick Desmarais</title>
		<link>http://meyerweb.com/eric/thoughts/2005/07/15/working-with-google-maps/#comment-12018</link>
		<dc:creator>Patrick Desmarais</dc:creator>
		<pubDate>Sat, 07 Jan 2006 19:07:11 +0000</pubDate>
		<guid isPermaLink="false">http://meyerweb.com/eric/thoughts/2005/07/15/working-with-the-google-maps-api/#comment-12018</guid>
		<description><![CDATA[Just a little question...


Is it me or they changed how the key works since you wrote this post?

I had a map set up at the root of my server. I moved it in a subdirectory and it still works.

It also works with and without the www subdomain...

Is that normal?

Thanks!]]></description>
		<content:encoded><![CDATA[<p>Just a little question&#8230;</p>
<p>Is it me or they changed how the key works since you wrote this post?</p>
<p>I had a map set up at the root of my server. I moved it in a subdirectory and it still works.</p>
<p>It also works with and without the www subdomain&#8230;</p>
<p>Is that normal?</p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Didi</title>
		<link>http://meyerweb.com/eric/thoughts/2005/07/15/working-with-google-maps/#comment-10180</link>
		<dc:creator>Didi</dc:creator>
		<pubDate>Tue, 13 Dec 2005 23:37:59 +0000</pubDate>
		<guid isPermaLink="false">http://meyerweb.com/eric/thoughts/2005/07/15/working-with-the-google-maps-api/#comment-10180</guid>
		<description><![CDATA[Great use for terrorist!

You could make a biological version as well and more....

It really depends on your own attitude....

Nevertheless it&#039;s done very well.

I&#039;m using the API since 2 hours and think that I will link the cruising range of our liveaboard diving boat named &quot;Tidak Apapa&quot; the same way.

I think this is a bit more creative approach than yours!

:-) Dirk

www.tidakapapa.com]]></description>
		<content:encoded><![CDATA[<p>Great use for terrorist!</p>
<p>You could make a biological version as well and more&#8230;.</p>
<p>It really depends on your own attitude&#8230;.</p>
<p>Nevertheless it&#8217;s done very well.</p>
<p>I&#8217;m using the API since 2 hours and think that I will link the cruising range of our liveaboard diving boat named &#8220;Tidak Apapa&#8221; the same way.</p>
<p>I think this is a bit more creative approach than yours!</p>
<p>:-) Dirk</p>
<p><a href="http://www.tidakapapa.com" rel="nofollow">http://www.tidakapapa.com</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: eduardo</title>
		<link>http://meyerweb.com/eric/thoughts/2005/07/15/working-with-google-maps/#comment-7128</link>
		<dc:creator>eduardo</dc:creator>
		<pubDate>Wed, 05 Oct 2005 13:20:10 +0000</pubDate>
		<guid isPermaLink="false">http://meyerweb.com/eric/thoughts/2005/07/15/working-with-the-google-maps-api/#comment-7128</guid>
		<description><![CDATA[If you are interested Google Maps and Ajax maybe you would like:

&lt;a href=&quot;http://www.panoramio.com&quot; rel=&quot;nofollow&quot;&gt;Panoramio.com&lt;/a&gt;]]></description>
		<content:encoded><![CDATA[<p>If you are interested Google Maps and Ajax maybe you would like:</p>
<p><a href="http://www.panoramio.com" rel="nofollow">Panoramio.com</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: AxsDeny</title>
		<link>http://meyerweb.com/eric/thoughts/2005/07/15/working-with-google-maps/#comment-7067</link>
		<dc:creator>AxsDeny</dc:creator>
		<pubDate>Mon, 03 Oct 2005 00:44:52 +0000</pubDate>
		<guid isPermaLink="false">http://meyerweb.com/eric/thoughts/2005/07/15/working-with-the-google-maps-api/#comment-7067</guid>
		<description><![CDATA[Did your radial distances take the curvature of the earth into account? I&#039;m trying to write something similar as I need a 50 mile circle drawn around a particular lat/lon. I&#039;m trying to figure out how to create php that will create an array of coordinates that fall at every 1 degree at 50 miles out from the center. I&#039;m using the great circle method to determine distance based on coords. The issue is create the array. Converting the trigonometry to php is the issue. Anyone have any ideas? This may scale decently up to 100 miles out, after that it may get a little choppy in the circumference.]]></description>
		<content:encoded><![CDATA[<p>Did your radial distances take the curvature of the earth into account? I&#8217;m trying to write something similar as I need a 50 mile circle drawn around a particular lat/lon. I&#8217;m trying to figure out how to create php that will create an array of coordinates that fall at every 1 degree at 50 miles out from the center. I&#8217;m using the great circle method to determine distance based on coords. The issue is create the array. Converting the trigonometry to php is the issue. Anyone have any ideas? This may scale decently up to 100 miles out, after that it may get a little choppy in the circumference.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dipesh</title>
		<link>http://meyerweb.com/eric/thoughts/2005/07/15/working-with-google-maps/#comment-6127</link>
		<dc:creator>Dipesh</dc:creator>
		<pubDate>Fri, 19 Aug 2005 20:03:50 +0000</pubDate>
		<guid isPermaLink="false">http://meyerweb.com/eric/thoughts/2005/07/15/working-with-the-google-maps-api/#comment-6127</guid>
		<description><![CDATA[Hi Eric,

Thanks for writing such a nice article demostrating usage of GAPI.

I would like to know one thing, how did ya got lat/lan ? I mean the source for getting lat/lan? I need to find lat/lng for all the zipcodes? How can i do this without buying some data ? One option which i can see as of now is sitting for the whole day or more than that and use some webiste which allows me to enter zipcode and get the lat/lgn.

Your input will be of great help to me.

Hope to hear from you soon.

Cheers!
Dipesh]]></description>
		<content:encoded><![CDATA[<p>Hi Eric,</p>
<p>Thanks for writing such a nice article demostrating usage of GAPI.</p>
<p>I would like to know one thing, how did ya got lat/lan ? I mean the source for getting lat/lan? I need to find lat/lng for all the zipcodes? How can i do this without buying some data ? One option which i can see as of now is sitting for the whole day or more than that and use some webiste which allows me to enter zipcode and get the lat/lgn.</p>
<p>Your input will be of great help to me.</p>
<p>Hope to hear from you soon.</p>
<p>Cheers!<br />
Dipesh</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joe</title>
		<link>http://meyerweb.com/eric/thoughts/2005/07/15/working-with-google-maps/#comment-6118</link>
		<dc:creator>Joe</dc:creator>
		<pubDate>Tue, 16 Aug 2005 20:04:12 +0000</pubDate>
		<guid isPermaLink="false">http://meyerweb.com/eric/thoughts/2005/07/15/working-with-the-google-maps-api/#comment-6118</guid>
		<description><![CDATA[Re: &quot;In other words, I wanted to make it so that the rings didn&quot;t exist as far as the event model was concerned. That way, you could click-and-drag the map even if there&quot;s a ring underneath the mouse pointer.&quot;

Did you try making the concentric rings the &quot;shadow&quot; of the GIcon, and the center area (as much as you want clickable) the &quot;image&quot;? It appears on maps.google.com that the shadows (of markers and of infoWindows) do not trigger events, whereas the marker images always do. And you can choose how the shadow is attached to the image. ]]></description>
		<content:encoded><![CDATA[<p>Re: &#8220;In other words, I wanted to make it so that the rings didn&#8221;t exist as far as the event model was concerned. That way, you could click-and-drag the map even if there&#8221;s a ring underneath the mouse pointer.&#8221;</p>
<p>Did you try making the concentric rings the &#8220;shadow&#8221; of the GIcon, and the center area (as much as you want clickable) the &#8220;image&#8221;? It appears on maps.google.com that the shadows (of markers and of infoWindows) do not trigger events, whereas the marker images always do. And you can choose how the shadow is attached to the image. </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Isaac Z. Schlueter</title>
		<link>http://meyerweb.com/eric/thoughts/2005/07/15/working-with-google-maps/#comment-5965</link>
		<dc:creator>Isaac Z. Schlueter</dc:creator>
		<pubDate>Mon, 18 Jul 2005 20:38:24 +0000</pubDate>
		<guid isPermaLink="false">http://meyerweb.com/eric/thoughts/2005/07/15/working-with-the-google-maps-api/#comment-5965</guid>
		<description><![CDATA[Nevermind, Doof = me.

I had Firefox set to only images for the originating site only.

Works fine.]]></description>
		<content:encoded><![CDATA[<p>Nevermind, Doof = me.</p>
<p>I had Firefox set to only images for the originating site only.</p>
<p>Works fine.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Isaac Z. Schlueter</title>
		<link>http://meyerweb.com/eric/thoughts/2005/07/15/working-with-google-maps/#comment-5964</link>
		<dc:creator>Isaac Z. Schlueter</dc:creator>
		<pubDate>Mon, 18 Jul 2005 20:20:42 +0000</pubDate>
		<guid isPermaLink="false">http://meyerweb.com/eric/thoughts/2005/07/15/working-with-the-google-maps-api/#comment-5964</guid>
		<description><![CDATA[It seems like the app isn&#039;t working at the moment (possibly a momentary hiccough, and we should all just realize it&#039;s beta and chill?)

I can see the circles, and move them around, but the actual map/satellite background image is blank gray.

Seems like the same is going on over at chicagocrime.org, so maybe it&#039;s Google and not just you.  (Or maybe it&#039;s me?)  However, maps.google.com seems to be working just fine.

Anyway, you have a great site, and this was an interesting post.  I&#039;m going to have to figure out something fun to do with the google maps API now!]]></description>
		<content:encoded><![CDATA[<p>It seems like the app isn&#8217;t working at the moment (possibly a momentary hiccough, and we should all just realize it&#8217;s beta and chill?)</p>
<p>I can see the circles, and move them around, but the actual map/satellite background image is blank gray.</p>
<p>Seems like the same is going on over at chicagocrime.org, so maybe it&#8217;s Google and not just you.  (Or maybe it&#8217;s me?)  However, maps.google.com seems to be working just fine.</p>
<p>Anyway, you have a great site, and this was an interesting post.  I&#8217;m going to have to figure out something fun to do with the google maps API now!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dan Kohn</title>
		<link>http://meyerweb.com/eric/thoughts/2005/07/15/working-with-google-maps/#comment-5962</link>
		<dc:creator>Dan Kohn</dc:creator>
		<pubDate>Mon, 18 Jul 2005 15:20:41 +0000</pubDate>
		<guid isPermaLink="false">http://meyerweb.com/eric/thoughts/2005/07/15/working-with-the-google-maps-api/#comment-5962</guid>
		<description><![CDATA[Fantastic project.  This is a great demonstration of the Google Maps API, and I hope you&#039;ll email their dev board, as the Google guy who spoke at Where 2.0 seemed genuinely interested in feedback and improvement.

Restricting keys to a directory does seem annoying, but restricting them to meyerweb.com vs. www.meyerweb.com should really not be an issue.  The reality is that you should be using Apache mod_rewrite to standardize the domain name of your URLs on the fly.  This improves cacheing, and also can have a big impact on SEO (otherwise, your PageRank can be split in half between the two formulations).  Admittedly, .htaccess files are black magic, but I dove into the syntax enough to make &lt;a href=&quot;http://www.dankohn.com/archives/000334.html&quot; rel=&quot;nofollow&quot;&gt;this blog post&lt;/a&gt;, which should be easily adaptable.

Note that the previous commenter should also be rewriting URLs to fix his problem as well.

One other small thing.  It would be really nice to include a short descriptions below each psi rating: disintegration, light damage to residential structures, etc.

Thanks again for a great project.
]]></description>
		<content:encoded><![CDATA[<p>Fantastic project.  This is a great demonstration of the Google Maps API, and I hope you&#8217;ll email their dev board, as the Google guy who spoke at Where 2.0 seemed genuinely interested in feedback and improvement.</p>
<p>Restricting keys to a directory does seem annoying, but restricting them to meyerweb.com vs. <a href="http://www.meyerweb.com" rel="nofollow">http://www.meyerweb.com</a> should really not be an issue.  The reality is that you should be using Apache mod_rewrite to standardize the domain name of your URLs on the fly.  This improves cacheing, and also can have a big impact on SEO (otherwise, your PageRank can be split in half between the two formulations).  Admittedly, .htaccess files are black magic, but I dove into the syntax enough to make <a href="http://www.dankohn.com/archives/000334.html" rel="nofollow">this blog post</a>, which should be easily adaptable.</p>
<p>Note that the previous commenter should also be rewriting URLs to fix his problem as well.</p>
<p>One other small thing.  It would be really nice to include a short descriptions below each psi rating: disintegration, light damage to residential structures, etc.</p>
<p>Thanks again for a great project.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->