<?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>Web Argument &#187; real state</title>
	<atom:link href="http://web-argument.com/tag/real-state/feed/" rel="self" type="application/rss+xml" />
	<link>http://web-argument.com</link>
	<description>tutorials, tools and tips</description>
	<lastBuildDate>Sun, 14 Feb 2010 01:55:00 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Google Map Shortcode Version 1.1</title>
		<link>http://web-argument.com/google-map-shortcode-version-11/</link>
		<comments>http://web-argument.com/google-map-shortcode-version-11/#comments</comments>
		<pubDate>Mon, 07 Sep 2009 18:24:22 +0000</pubDate>
		<dc:creator>Alain</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Plugins]]></category>
		<category><![CDATA[API]]></category>
		<category><![CDATA[categories]]></category>
		<category><![CDATA[geocoder]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[Google Map]]></category>
		<category><![CDATA[map]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[real state]]></category>
		<category><![CDATA[request]]></category>
		<category><![CDATA[shortcode]]></category>
		<category><![CDATA[store]]></category>
		<category><![CDATA[theme]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://web-argument.com/?p=432</guid>
		<description><![CDATA[The new version of Google Map Shortcode is ready, some bugs were fixed and new features included.
The first release was based on &#8220;address&#8221;, then to include a point on the maps new instance of google geocoder was need, but google limits the number of this kind of request, read more here.
In this version new custom [...]]]></description>
			<content:encoded><![CDATA[<p>The new version of <a href="http://web-argument.com/google-map-shortcode/">Google Map Shortcode</a> is ready, some bugs were fixed and new features included.</p>
<p>The first release was based on &#8220;address&#8221;, then to include a point on the maps new instance of google geocoder was need, but google limits the number of this kind of request, read more <a href="http://code.google.com/apis/maps/faq.html#geocoder_limit" target="_blank">here</a>.</p>
<p>In this version new custom field &#8220;google-map-sc-latlng&#8221; was included to save the (Latitude,Longitude) for each address entered:</p>
<p><a class="lightbox" href="http://web-argument.com/wp-content/uploads/2009/09/custom.jpg"><img class="aligncenter size-full wp-image-433" title="custom" src="http://web-argument.com/wp-content/uploads/2009/09/custom.jpg" alt="" width="500" height="162" /></a><br />
Now, you can include points on your maps using one of this custom fields considering this:</p>
<ul>
<li>If you use &#8220;google-map-sc-address&#8221;, the first time that you display a point, the &#8220;google-map-sc-latlng&#8221; value will be generated automatically.</li>
<li>In order to use &#8220;google-map-sc-latlng&#8221; you need to include the latitude and longitude separated by comma.</li>
<li>If you update &#8220;google-map-sc-address&#8221; you must delete the &#8220;google-map-sc-latlng&#8221; cause this point will be located based on the previews address.</li>
<li>You can use &#8220;google-map-sc-latlng&#8221; only.</li>
<li>If you are planning to display large number of point is better to use &#8220;google-map-sc-latlng&#8221; or generate them one by one to avoid large number of address requests at the same time. You can generate latitude and longitude using for instance: <a href="http://www.batchgeocode.com/lookup/" target="_blank">http://www.batchgeocode.com/lookup/</a></li>
<li>You can attache more than one point per post/page but based on address or (latitude,longitude) see the example bellow.</li>
<li>If you are displaying all the points under specific category, just the first costum field of each post will be used.</li>
</ul>
<p>The shortcode options can be found in the <a href="http://web-argument.com/google-map-shortcode/">first release</a>.</p>
<p><strong>Examples</strong></p>
<p>This example shows the points attached to the posts under the category 42 cat=&#8221;42&#8243; and display the links to the points at the bottom of the map, external_links=&#8221;true&#8221;.</p>
<div id="canvas_8PIw" style="width:400px; height:400px" class="google-map-sc-canvas"></div><script type="text/javascript">
var map_canvas_8PIw;
var map_points_canvas_8PIw =  new Array();
map_points_canvas_8PIw[0] = {'point':{'lat':"37.3335177",'long':"-121.8889908"},'info':"<div class='gm_info_cont'><p class='gm_info_title'><a class='title' href='http://web-argument.com/?p=325'>ZendCon 2009</a></p><p class='gm_info_address'>San Jose, CA 95113, USA</p><table border='0' cellspacing='0' cellpadding='5' height='80'><tr><td valign='top' align='left'><a href='http://web-argument.com/?p=325'><img src='http://web-argument.com/wp-content/uploads/2009/08/convention-center-150x150.jpg' class='gm_info_img' /></a></td><td valign='top' align='left'>The 5th Annual Zend/PHP Conference will be the largest gathering ...<p><a href='http://web-argument.com/?p=325'>more »</a></p></td></tr></table></div>"};
map_points_canvas_8PIw[1] = {'point':{'lat':"-23.5391484",'long':"-46.7665922"},'info':"<div class='gm_info_cont'><p class='gm_info_title'><a class='title' href='http://web-argument.com/?p=328'>PHP Conference Brazil</a></p><p class='gm_info_address'>06020-190, Brazil</p><table border='0' cellspacing='0' cellpadding='5' height='80'><tr><td valign='top' align='left'><a href='http://web-argument.com/?p=328'><img src='http://web-argument.com/wp-content/uploads/2009/08/sao-pablo-150x150.jpg' class='gm_info_img' /></a></td><td valign='top' align='left'>The main PHP event in Latin America, the PHP Conference ...<p><a href='http://web-argument.com/?p=328'>more »</a></p></td></tr></table></div>"};
map_points_canvas_8PIw[2] = {'point':{'lat':"48.8906136",'long':"2.3867083"},'info':"<div class='gm_info_cont'><p class='gm_info_title'><a class='title' href='http://web-argument.com/?p=331'>Open Source Developer Conference FR (Paris)</a></p><p class='gm_info_address'>75019 Paris, France</p><table border='0' cellspacing='0' cellpadding='5' height='80'><tr><td valign='top' align='left'><a href='http://web-argument.com/?p=331'><img src='http://web-argument.com/wp-content/uploads/2009/08/cite_des_sciences-150x150.jpg' class='gm_info_img' /></a></td><td valign='top' align='left'>First edition of the french version of OSDC. Organized by ...<p><a href='http://web-argument.com/?p=331'>more »</a></p></td></tr></table></div>"};
map_points_canvas_8PIw[3] = {'point':{'lat':"59.3332947",'long':"18.0676706"},'info':"<div class='gm_info_cont'><p class='gm_info_title'><a class='title' href='http://web-argument.com/?p=333'>Google Technology User Group Stockholm</a></p><p class='gm_info_address'>11100, Sweden</p><table border='0' cellspacing='0' cellpadding='5' height='80'><tr><td valign='top' align='left'><a href='http://web-argument.com/?p=333'><img src='http://web-argument.com/wp-content/uploads/2009/08/stockholm-150x150.jpg' class='gm_info_img' /></a></td><td valign='top' align='left'>This is the first Google Technology User Group (GTUG) meeting ...<p><a href='http://web-argument.com/?p=333'>more »</a></p></td></tr></table></div>"};
map_points_canvas_8PIw[4] = {'point':{'lat':"50.0434155",'long':"8.0487051"},'info':"<div class='gm_info_cont'><p class='gm_info_title'><a class='title' href='http://web-argument.com/?p=335'>iPhone Bootcamp</a></p><p class='gm_info_address'>65346 Eltville, Germany</p><table border='0' cellspacing='0' cellpadding='5' height='80'><tr><td valign='top' align='left'><a href='http://web-argument.com/?p=335'><img src='http://web-argument.com/wp-content/uploads/2009/08/eltville-burg-150x150.jpg' class='gm_info_img' /></a></td><td valign='top' align='left'>Big Nerd Ranch Europe, offers Intensive training classes for professional ...<p><a href='http://web-argument.com/?p=335'>more »</a></p></td></tr></table></div>"};
addLoadEvent(function(){
map_canvas_8PIw = new gmshc_render("canvas_8PIw",map_points_canvas_8PIw, 3);
});
addEvent(window,'unload',GUnload,false);
</script>
<div class='map_links'><ul><li><a href='#' onclick='map_canvas_8PIw.findPoint(0); return false'>ZendCon 2009</a></li><li><a href='#' onclick='map_canvas_8PIw.findPoint(1); return false'>PHP Conference Brazil</a></li><li><a href='#' onclick='map_canvas_8PIw.findPoint(2); return false'>Open Source Developer Conference FR (Paris)</a></li><li><a href='#' onclick='map_canvas_8PIw.findPoint(3); return false'>Google Technology User Group Stockholm</a></li><li><a href='#' onclick='map_canvas_8PIw.findPoint(4); return false'>iPhone Bootcamp</a></li></ul></div
<p>In this example the map displays some points on South Florida:</p>
<div id="canvas_DXDi" style="width:400px; height:400px" class="google-map-sc-canvas"></div><script type="text/javascript">
var map_canvas_DXDi;
var map_points_canvas_DXDi =  new Array();
map_points_canvas_DXDi[0] = {'point':{'lat':"26.912273826625587",'long':"-80.211181640625"}};
map_points_canvas_DXDi[1] = {'point':{'lat':"26.086388149394875",'long':"-80.26611328125"}};
map_points_canvas_DXDi[2] = {'point':{'lat':"25.78999956287362",'long':"-80.33203125"}};
map_points_canvas_DXDi[3] = {'point':{'lat':"26.194876675795218",'long':"-81.749267578125"}};
map_points_canvas_DXDi[4] = {'point':{'lat':"25.453194979524866",'long':"-80.4364013671875"}};
map_points_canvas_DXDi[5] = {'point':{'lat':"27.083582461484347",'long':"-80.5792236328125"}};
addLoadEvent(function(){
map_canvas_DXDi = new gmshc_render("canvas_DXDi",map_points_canvas_DXDi, 7);
});
addEvent(window,'unload',GUnload,false);
</script>

<p>and the custom fields looks like this:</p>
<p><a class="lightbox" title="thepoints" href="http://web-argument.com/wp-content/uploads/2009/09/thepoints.jpg"><img class="aligncenter size-full wp-image-438" title="thepoints" src="http://web-argument.com/wp-content/uploads/2009/09/thepoints.jpg" alt="" width="499" height="352" /></a></p>
<p>Using the post &#8220;id&#8221; id = &#8220;335&#8243;.</p>
<div id="canvas_UFHL" style="width:400px; height:400px" class="google-map-sc-canvas"></div><script type="text/javascript">
var map_canvas_UFHL;
var map_points_canvas_UFHL =  new Array();
map_points_canvas_UFHL[0] = {'point':{'lat':"50.0434155",'long':"8.0487051"},'info':"<div class='gm_info_cont'><p class='gm_info_title'><a class='title' href='http://web-argument.com/?p=335'>iPhone Bootcamp</a></p><p class='gm_info_address'>65346 Eltville, Germany</p><table border='0' cellspacing='0' cellpadding='5' height='80'><tr><td valign='top' align='left'><a href='http://web-argument.com/?p=335'><img src='http://web-argument.com/wp-content/uploads/2009/08/eltville-burg-150x150.jpg' class='gm_info_img' /></a></td><td valign='top' align='left'>Big Nerd Ranch Europe, offers Intensive training classes for professional ...<p><a href='http://web-argument.com/?p=335'>more »</a></p></td></tr></table></div>"};
addLoadEvent(function(){
map_canvas_UFHL = new gmshc_render("canvas_UFHL",map_points_canvas_UFHL, 10);
});
addEvent(window,'unload',GUnload,false);
</script>

<p>Using specific address option in the sortcode (not the custom field) address=&#8221;3501 S.W. 130th Ave., Davie 33330&#8243;,width=&#8221;250&#8243;, height=&#8221;250&#8243; and zoom=&#8221;8&#8243;.</p>
<div id="canvas_JpxB" style="width:250px; height:250px" class="google-map-sc-canvas"></div><script type="text/javascript">
var map_canvas_JpxB;
var map_points_canvas_JpxB =  new Array();
map_points_canvas_JpxB[0] = {'point':{'lat':"26.0757852",'long':"-80.3223340"}};
addLoadEvent(function(){
map_canvas_JpxB = new gmshc_render("canvas_JpxB",map_points_canvas_JpxB, 10);
});
addEvent(window,'unload',GUnload,false);
</script>

<p><strong>Notes</strong></p>
<p>The Info Window is showed when you are displaying post on your maps for example the posts under a category or when you use the post ID, just in these cases make sense to display the the title, thumbnail and excerpt of your posts.</p>
<p>You can change the html and the css of the Info Windows to cutomize it.</p>
<p>The shortcode name is <strong>google-map-sc</p>
<p></strong></p>
<p><strong>Download</strong></p>
<p><a href="http://wordpress.org/extend/plugins/google-map-shortcode/" target="_blank">google-map-shortcode</a></p>
<p>Add your suggestions, support the plugin.</p>
<form action="https://www.paypal.com/cgi-bin/webscr" accept-charset="UNKNOWN" enctype="application/x-www-form-urlencoded" method="post">
<input name="cmd" size="20" type="hidden" value="_s-xclick" />
<input name="encrypted" size="20" type="hidden" value="-----BEGIN PKCS7-----MIIHLwYJKoZIhvcNAQcEoIIHIDCCBxwCAQExggEwMIIBLAIBADCBlDCBjjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtQYXlQYWwgSW5jLjETMBEGA1UECxQKbGl2ZV9jZXJ0czERMA8GA1UEAxQIbGl2ZV9hcGkxHDAaBgkqhkiG9w0BCQEWDXJlQHBheXBhbC5jb20CAQAwDQYJKoZIhvcNAQEBBQAEgYBUi/h/3jA2Wxe8UOQzSnDow1lkvr5ek+g/b6Ys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GOFuSag==-----END PKCS7-----" />
<input alt="PayPal - The safer, easier way to pay online!" name="submit" size="20" src="https://www.paypal.com/en_US/i/btn/btn_donate_SM.gif" type="image" /> <img src="https://www.paypal.com/en_US/i/scr/pixel.gif" border="0" alt="" width="1" height="1" /><br />
</form>
]]></content:encoded>
			<wfw:commentRss>http://web-argument.com/google-map-shortcode-version-11/feed/</wfw:commentRss>
		<slash:comments>82</slash:comments>
	<enclosure url='http://web-argument.com/wp-content/uploads/2009/09/custom-150x150.jpg' length ='3783'  type='image/jpg' />	</item>
	</channel>
</rss>
