<?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>VinylFox &#187; GMap</title>
	<atom:link href="http://www.vinylfox.com/tag/gmap/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.vinylfox.com</link>
	<description>The Playground of VinylFox (Shea Frederick)</description>
	<lastBuildDate>Thu, 29 Jul 2010 16:37:06 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>GMapPanel Updated With Locale Support and More Examples</title>
		<link>http://www.vinylfox.com/gmappanel-updated-with-locale-support-and-more-examples/</link>
		<comments>http://www.vinylfox.com/gmappanel-updated-with-locale-support-and-more-examples/#comments</comments>
		<pubDate>Mon, 27 Apr 2009 02:54:11 +0000</pubDate>
		<dc:creator>Shea Frederick</dc:creator>
				<category><![CDATA[ExtJS]]></category>
		<category><![CDATA[ExtJS News]]></category>
		<category><![CDATA[Google Maps]]></category>
		<category><![CDATA[GMap]]></category>

		<guid isPermaLink="false">http://www.vinylfox.com/?p=233</guid>
		<description><![CDATA[So I set aside a few hours over the past week to update my GMapPanel code with some new features and examples that I think would help everyone. Two new examples, and an update to one to add a form used for entering lat/lng or address to center the map on. Added locale support for [...]]]></description>
			<content:encoded><![CDATA[<p>So I set aside a few hours over the past week to update my GMapPanel code with some new features and examples that I think would help everyone. Two new examples, and an update to one to add a form used for entering lat/lng or address to center the map on. Added locale support for the error messages that the map presents to the user &#8211; map locale support is still handled on Google&#8217;s end of things.</p>
<p><img src="http://www.vinylfox.com/wp-content/uploads/2009/04/dataview-150x150.jpg" alt="dataview" title="dataview" width="150" height="150" class="alignleft size-thumbnail wp-image-235" align="left" style="margin: 10px;" />The first new sample demonstrates two things that allot of people seem to strugle with. First off, using a map within a border layout, which when you get down too it is dead simple, but causes much frustration and confusion if you happen to do it incorrectly. The second thing is using a <em>DataView</em> (could be a grid, tree, etc) to interact with the map by giving a list of points to recenter the map on. Recentering is accomplished by clicking on an item in the <em>DataView</em> list, this triggers a click event in the <em>DataView</em> which then pulls the lat/lng from the <em>DataStore</em> and tells the map to center on it.</p>
<p><img src="http://www.vinylfox.com/wp-content/uploads/2009/04/recenter-150x150.jpg" alt="recenter" title="recenter" width="150" height="150" class="alignright size-thumbnail wp-image-236" align="right" style="margin: 10px;" />The next example is also a new one, demonstrating how to use a form to interact with the map. A basic dialog has been created with a form in it, this dialog is opened from the tool section of the window in the <em>recenter-map</em> example. From this form you can enter in either a lat/lng or a street address, and the data entered is used to manipulate the map. Its a handy and fun little example.</p>
<p><img src="http://www.vinylfox.com/wp-content/uploads/2009/04/locale-150x150.jpg" alt="locale" title="locale" width="150" height="150" class="alignleft size-thumbnail wp-image-237" align="left" style="margin: 10px;" />This last one was something I did on a whim, because I noticed these map windows being used all around the world I thought it would be a good idea to follow the standards used by ExtJS and localize the text contained within the code. When I set in to do this, I assumed I could pull localized text messages from Google for the error numbers Google provided &#8211; go figure, their API actually provides no text at all for the error codes they return. I ended up copying the error text from the Google API reference/docs into my code, which was annoying, but I didn&#8217;t see any other options.</p>
<p>Thats it for now, enjoy the map panel updates!</p>
<p><a href="http://code.google.com/p/ext-ux-gmappanel/source/detail?r=17">http://code.google.com/p/ext-ux-gmappanel/source/detail?r=17</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.vinylfox.com/gmappanel-updated-with-locale-support-and-more-examples/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
