<?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: Beta chapter from my upcoming book on Google Maps API v3</title>
	<atom:link href="http://www.svennerberg.com/2009/11/beta-chapter-from-my-upcoming-book-on-google-maps-api-v3/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.svennerberg.com/2009/11/beta-chapter-from-my-upcoming-book-on-google-maps-api-v3/</link>
	<description>Web Applications Designed for Humans</description>
	<lastBuildDate>Fri, 03 Feb 2012 20:33:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Heitor</title>
		<link>http://www.svennerberg.com/2009/11/beta-chapter-from-my-upcoming-book-on-google-maps-api-v3/#comment-757</link>
		<dc:creator>Heitor</dc:creator>
		<pubDate>Fri, 21 May 2010 16:32:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.svennerberg.com/?p=2333#comment-757</guid>
		<description>Thanks for the great chapter. It&#039;s been a big help so far in helping me create a Google map for our church&#039;s website. I have been unable, however, to deal with the window closure problem. I can write the function to add markers and info windows to the map without any problems, but when I revise the code in the loop to call the new function, nothing comes up on the website. I am using exactly what is in the book (modified of course for my purposes): for (var i = 0; i &lt; gender.length; i += 1) {
addMarker(gender[i], i);
}
Any suggestions on what I am doing wrong?</description>
		<content:encoded><![CDATA[<p>Thanks for the great chapter. It&#8217;s been a big help so far in helping me create a Google map for our church&#8217;s website. I have been unable, however, to deal with the window closure problem. I can write the function to add markers and info windows to the map without any problems, but when I revise the code in the loop to call the new function, nothing comes up on the website. I am using exactly what is in the book (modified of course for my purposes): for (var i = 0; i &lt; gender.length; i += 1) {<br />
addMarker(gender[i], i);<br />
}<br />
Any suggestions on what I am doing wrong?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bruce</title>
		<link>http://www.svennerberg.com/2009/11/beta-chapter-from-my-upcoming-book-on-google-maps-api-v3/#comment-756</link>
		<dc:creator>Bruce</dc:creator>
		<pubDate>Wed, 19 May 2010 14:25:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.svennerberg.com/?p=2333#comment-756</guid>
		<description>&lt;strong&gt;&lt;em&gt;Casey:&lt;/em&gt;&lt;/strong&gt; There&#039;s sort of a way of resizing them dynamically. If you use the MarkerImage class to create the icon for the marker, it has a property called &lt;code&gt;scaledSize&lt;/code&gt; with which you can change the size of the image. The only problem is that the MarkerImage object can&#039;t be changed once it has been created so you have to have one MarkerImage for each zoom level. You&#039;ll only need one physical image though.

&lt;a href=&quot;http://code.google.com/intl/sv-SE/apis/maps/documentation/v3/reference.html#MarkerImage&quot; rel=&quot;nofollow&quot;&gt;Check out the MarkerImage object in the documentation&lt;/a&gt;.</description>
		<content:encoded><![CDATA[<p><strong><em>Casey:</em></strong> There&#8217;s sort of a way of resizing them dynamically. If you use the MarkerImage class to create the icon for the marker, it has a property called <code>scaledSize</code> with which you can change the size of the image. The only problem is that the MarkerImage object can&#8217;t be changed once it has been created so you have to have one MarkerImage for each zoom level. You&#8217;ll only need one physical image though.</p>
<p><a href="http://code.google.com/intl/sv-SE/apis/maps/documentation/v3/reference.html#MarkerImage" rel="nofollow">Check out the MarkerImage object in the documentation</a>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gabriel Svennerberg</title>
		<link>http://www.svennerberg.com/2009/11/beta-chapter-from-my-upcoming-book-on-google-maps-api-v3/#comment-755</link>
		<dc:creator>Gabriel Svennerberg</dc:creator>
		<pubDate>Sun, 16 May 2010 09:01:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.svennerberg.com/?p=2333#comment-755</guid>
		<description>&lt;strong&gt;&lt;em&gt;Ben Appleton:&lt;/em&gt;&lt;/strong&gt; Thanks a lot for your feedback, I really appreciate it! The book is progressing well and this chapter has seen some significant changes since I published the beta version. I think there&#039;s still a chance to make some additions in the second pass of the chapter though. 

The nit-pick is the stuff I&#039;m looking for. It&#039;s very useful to me! :-)</description>
		<content:encoded><![CDATA[<p><strong><em>Ben Appleton:</em></strong> Thanks a lot for your feedback, I really appreciate it! The book is progressing well and this chapter has seen some significant changes since I published the beta version. I think there&#8217;s still a chance to make some additions in the second pass of the chapter though. </p>
<p>The nit-pick is the stuff I&#8217;m looking for. It&#8217;s very useful to me! <img src='http://www.svennerberg.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben Appleton</title>
		<link>http://www.svennerberg.com/2009/11/beta-chapter-from-my-upcoming-book-on-google-maps-api-v3/#comment-754</link>
		<dc:creator>Ben Appleton</dc:creator>
		<pubDate>Sun, 16 May 2010 04:48:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.svennerberg.com/?p=2333#comment-754</guid>
		<description>Hey Gabriel, great start on your book!

For the red teardrop marker on first page, it would be neat to show the shadow as well.

&gt; The marker object is conveniently available in the google.maps.Marker namespace.

google.maps is the namespace, google.maps.Marker is a constructor.

&gt; The reason is that it’s just plain wrong to steal other people’s bandwidth without permission.

You could also mention another, more pragmatic reason: they may move their file and break your application.

&gt; Icons supplied by Google.

You might also want to mention that Google Chart API supports customized map pins:
http://groups.google.com/group/google-chart-api/web/chart-types-for-map-pins

&gt; It can be plain text, HTML or a reference to a HTML-­?node.

Technically the content can&#039;t be plain text, it has to be a HTML string or a DOM node.  Specifically, plain text containing HTML entities such as &quot;&lt;&quot; will not render correctly unless it is first HTML-escaped.

Sorry to nit-pick, your book looks awesome so far :-)

- Ben</description>
		<content:encoded><![CDATA[<p>Hey Gabriel, great start on your book!</p>
<p>For the red teardrop marker on first page, it would be neat to show the shadow as well.</p>
<p>&gt; The marker object is conveniently available in the google.maps.Marker namespace.</p>
<p>google.maps is the namespace, google.maps.Marker is a constructor.</p>
<p>&gt; The reason is that it’s just plain wrong to steal other people’s bandwidth without permission.</p>
<p>You could also mention another, more pragmatic reason: they may move their file and break your application.</p>
<p>&gt; Icons supplied by Google.</p>
<p>You might also want to mention that Google Chart API supports customized map pins:<br />
<a href="http://groups.google.com/group/google-chart-api/web/chart-types-for-map-pins" rel="nofollow">http://groups.google.com/group/google-chart-api/web/chart-types-for-map-pins</a></p>
<p>&gt; It can be plain text, HTML or a reference to a HTML-­?node.</p>
<p>Technically the content can&#8217;t be plain text, it has to be a HTML string or a DOM node.  Specifically, plain text containing HTML entities such as &#8220;&lt;&quot; will not render correctly unless it is first HTML-escaped.</p>
<p>Sorry to nit-pick, your book looks awesome so far <img src='http://www.svennerberg.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>- Ben</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Casey</title>
		<link>http://www.svennerberg.com/2009/11/beta-chapter-from-my-upcoming-book-on-google-maps-api-v3/#comment-753</link>
		<dc:creator>Casey</dc:creator>
		<pubDate>Sat, 17 Apr 2010 18:39:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.svennerberg.com/?p=2333#comment-753</guid>
		<description>Well, I tried again and scaleSize does work. Thanks for pointing me in the right direction. I must have been calculating the size wrong before. Works like a charm now. Thanks again! Looking forward to the book.</description>
		<content:encoded><![CDATA[<p>Well, I tried again and scaleSize does work. Thanks for pointing me in the right direction. I must have been calculating the size wrong before. Works like a charm now. Thanks again! Looking forward to the book.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Casey</title>
		<link>http://www.svennerberg.com/2009/11/beta-chapter-from-my-upcoming-book-on-google-maps-api-v3/#comment-752</link>
		<dc:creator>Casey</dc:creator>
		<pubDate>Sat, 17 Apr 2010 16:18:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.svennerberg.com/?p=2333#comment-752</guid>
		<description>I tried using that, but it only resized the clickable area while the image remained the same size. So, I had a 30x30 marker, used the MarkerImage object to set a new marker with a scaleSize of 100x100 to test, and only the click area got bigger. I could hover over the marker 70px to the right and under the 30x30 icon and, when clicked, the info window popped up 20px to the right... the halfway point if I had used a real 100x100 icon. Maybe I was doing something wrong, but it seemed like scaleSize only allocated the area for the marker and didn&#039;t resize the image one way or the other. I wish Google had better documentation on all this, that&#039;s why a book on it would be great.</description>
		<content:encoded><![CDATA[<p>I tried using that, but it only resized the clickable area while the image remained the same size. So, I had a 30&#215;30 marker, used the MarkerImage object to set a new marker with a scaleSize of 100&#215;100 to test, and only the click area got bigger. I could hover over the marker 70px to the right and under the 30&#215;30 icon and, when clicked, the info window popped up 20px to the right&#8230; the halfway point if I had used a real 100&#215;100 icon. Maybe I was doing something wrong, but it seemed like scaleSize only allocated the area for the marker and didn&#8217;t resize the image one way or the other. I wish Google had better documentation on all this, that&#8217;s why a book on it would be great.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gabriel Svennerberg</title>
		<link>http://www.svennerberg.com/2009/11/beta-chapter-from-my-upcoming-book-on-google-maps-api-v3/#comment-751</link>
		<dc:creator>Gabriel Svennerberg</dc:creator>
		<pubDate>Sat, 17 Apr 2010 08:48:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.svennerberg.com/?p=2333#comment-751</guid>
		<description>&lt;strong&gt;&lt;em&gt;Casey:&lt;/em&gt;&lt;/strong&gt; There&#039;s sort of a way of resizing them dynamically. If you use the MarkerImage class to create the icon for the marker, it has a property called &lt;code&gt;scaledSize&lt;/code&gt; with which you can change the size of the image. The only problem is that the MarkerImage object can&#039;t be changed once it has been created so you have to have one MarkerImage for each zoom level. You&#039;ll only need one physical image though.

&lt;a href=&quot;http://code.google.com/intl/sv-SE/apis/maps/documentation/v3/reference.html#MarkerImage&quot; rel=&quot;nofollow&quot;&gt;Check out the MarkerImage object in the documentation&lt;/a&gt;.</description>
		<content:encoded><![CDATA[<p><strong><em>Casey:</em></strong> There&#8217;s sort of a way of resizing them dynamically. If you use the MarkerImage class to create the icon for the marker, it has a property called <code>scaledSize</code> with which you can change the size of the image. The only problem is that the MarkerImage object can&#8217;t be changed once it has been created so you have to have one MarkerImage for each zoom level. You&#8217;ll only need one physical image though.</p>
<p><a href="http://code.google.com/intl/sv-SE/apis/maps/documentation/v3/reference.html#MarkerImage" rel="nofollow">Check out the MarkerImage object in the documentation</a>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Casey</title>
		<link>http://www.svennerberg.com/2009/11/beta-chapter-from-my-upcoming-book-on-google-maps-api-v3/#comment-750</link>
		<dc:creator>Casey</dc:creator>
		<pubDate>Fri, 16 Apr 2010 22:33:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.svennerberg.com/?p=2333#comment-750</guid>
		<description>Thanks for sharing this.  I&#039;ve looked around and there don&#039;t seem to be any really good guts and bolts books on the v3 api and I would definitely be interested in one.

Would you happen to know of a way to resize markers dynamically? I&#039;ve figured out how to hook into the zoom event and get the zoom level change to work with. For now, I am calling a script as an image that outputs different sized images on the fly depending on the zoom level. This does exactly what I want, but I&#039;m wondering if there is an easier, pure js way to do this with the v3 api. 

Love the website, too. Lots of great info. Keep up the good work :)</description>
		<content:encoded><![CDATA[<p>Thanks for sharing this.  I&#8217;ve looked around and there don&#8217;t seem to be any really good guts and bolts books on the v3 api and I would definitely be interested in one.</p>
<p>Would you happen to know of a way to resize markers dynamically? I&#8217;ve figured out how to hook into the zoom event and get the zoom level change to work with. For now, I am calling a script as an image that outputs different sized images on the fly depending on the zoom level. This does exactly what I want, but I&#8217;m wondering if there is an easier, pure js way to do this with the v3 api. </p>
<p>Love the website, too. Lots of great info. Keep up the good work <img src='http://www.svennerberg.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gabriel Svennerberg</title>
		<link>http://www.svennerberg.com/2009/11/beta-chapter-from-my-upcoming-book-on-google-maps-api-v3/#comment-749</link>
		<dc:creator>Gabriel Svennerberg</dc:creator>
		<pubDate>Mon, 12 Apr 2010 20:09:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.svennerberg.com/?p=2333#comment-749</guid>
		<description>&lt;strong&gt;&lt;em&gt;Larry:&lt;/em&gt;&lt;/strong&gt; Yeah, they&#039;ve renamed all the methods with underscore in them to camel cased ones in the API after I wrote the beta chapter. It&#039;s corrected in the final book though, so don&#039;t worry! :-)

I&#039;m happy to hear that you liked the chapter even though it contained errors. If everything goes as planned, the book will be available in August.</description>
		<content:encoded><![CDATA[<p><strong><em>Larry:</em></strong> Yeah, they&#8217;ve renamed all the methods with underscore in them to camel cased ones in the API after I wrote the beta chapter. It&#8217;s corrected in the final book though, so don&#8217;t worry! <img src='http://www.svennerberg.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>I&#8217;m happy to hear that you liked the chapter even though it contained errors. If everything goes as planned, the book will be available in August.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Larry</title>
		<link>http://www.svennerberg.com/2009/11/beta-chapter-from-my-upcoming-book-on-google-maps-api-v3/#comment-748</link>
		<dc:creator>Larry</dc:creator>
		<pubDate>Mon, 12 Apr 2010 14:41:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.svennerberg.com/?p=2333#comment-748</guid>
		<description>Im a php coder, fairly new to JS and in turn the maps API, this book is exactly what I am looking for. I did go ahead and test those final code in this chapter and it did not seem to create info windows for the marker. That got me to poking around a bit and you book uses the following line....

infowindow.set_content(&#039;Place no &#039; + no);

but set_content is not a function. Having a small project built around v3 API when it was in beta I had some stuff change, presumably when google took that API from beta to release they renamed some stuff and set_content should now be setContent.

I hope any error like this in the book are cleaned up before its published or it could be a mess. Nice work though, I already have the book preordered.</description>
		<content:encoded><![CDATA[<p>Im a php coder, fairly new to JS and in turn the maps API, this book is exactly what I am looking for. I did go ahead and test those final code in this chapter and it did not seem to create info windows for the marker. That got me to poking around a bit and you book uses the following line&#8230;.</p>
<p>infowindow.set_content(&#8216;Place no &#8216; + no);</p>
<p>but set_content is not a function. Having a small project built around v3 API when it was in beta I had some stuff change, presumably when google took that API from beta to release they renamed some stuff and set_content should now be setContent.</p>
<p>I hope any error like this in the book are cleaned up before its published or it could be a mess. Nice work though, I already have the book preordered.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

