<?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>Flav36rs &#187; Mapping</title>
	<atom:link href="http://flav36rs.com/category/mapping/feed/" rel="self" type="application/rss+xml" />
	<link>http://flav36rs.com</link>
	<description>Just another technical blog</description>
	<lastBuildDate>Mon, 12 Sep 2011 16:56:36 +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>Google Maps API default control look-and-feel</title>
		<link>http://flav36rs.com/2009/03/10/google-maps-api-default-control-look-and-feel/</link>
		<comments>http://flav36rs.com/2009/03/10/google-maps-api-default-control-look-and-feel/#comments</comments>
		<pubDate>Tue, 10 Mar 2009 11:52:00 +0000</pubDate>
		<dc:creator>Steve</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Mapping]]></category>
		<category><![CDATA[API]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[maps]]></category>

		<guid isPermaLink="false">http://sha.re.it/?p=197</guid>
		<description><![CDATA[Although I haven&#8217;t managed to do any work with the Google Maps API for a few months now, I do try and frequent the Google Geo Developers Blog every once in a while. On my last visit I noticed a &#8230; <a href="http://flav36rs.com/2009/03/10/google-maps-api-default-control-look-and-feel/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Although I haven&#8217;t managed to do any work with the Google Maps API for a few months now, I do try and frequent the <a href="http://googlegeodevelopers.blogspot.com/" target="_blank">Google Geo Developers Blog</a> every once in a while.</p>
<p>On my last visit I noticed a post mentioning new functionality that allows you to include the standard user interface elements you get on the main Google Maps site, plus the standard behaviour of keyboard and mouse handling.</p>
<p style="text-align: center;"><span id="more-197"></span><img class="aligncenter" title="Google Maps default UI" src="http://36flavours.com/blog/wp-content/uploads/2009/03/gmaps_default_ui.jpg" alt="Google Maps default UI" width="380" height="263" /></p>
<p>To include the new UI and behaviours, include the following code:</p>
<pre lang="javascript">// var map = new GMap2(mapDiv);
map.setUIToDefault();</pre>
<p>This function will ensure that any updates to the <a href="http://maps.google.com" target="_blank">maps.google.com</a> UI will also be reflected on your site without you having to carry out any updates.</p>
<p>Read the <a href="http://googlegeodevelopers.blogspot.com/2009/02/posted-by-jez-fletcher-maps-api-team.html" target="_blank">full blog post here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://flav36rs.com/2009/03/10/google-maps-api-default-control-look-and-feel/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Google Static Maps API</title>
		<link>http://flav36rs.com/2008/04/30/google-static-maps-api/</link>
		<comments>http://flav36rs.com/2008/04/30/google-static-maps-api/#comments</comments>
		<pubDate>Tue, 29 Apr 2008 23:06:04 +0000</pubDate>
		<dc:creator>Steve</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Mapping]]></category>
		<category><![CDATA[API]]></category>
		<category><![CDATA[Google]]></category>

		<guid isPermaLink="false">http://sha.re.it/?p=19</guid>
		<description><![CDATA[Admittedly I have completely missed the boat on blogging about the Google Static Maps API which was launched back in February, but I was reminded of them the other day whilst working on a site admin panel. As the maps &#8230; <a href="http://flav36rs.com/2008/04/30/google-static-maps-api/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Admittedly I have completely missed the boat on blogging about the <a title="Google Static Maps API Documentation" href="http://code.google.com/apis/maps/documentation/staticmaps/" target="_blank">Google Static Maps API</a> which was launched back in February, but I was reminded of them the other day whilst working on a site admin panel.</p>
<p>As the maps I wanted to display were only a small addition to the panel providing a quick snapshot of a location, using the full <a title="Google Maps API" href="http://code.google.com/apis/maps/" target="_blank">JavaScript API</a> would have been rather unnecessary.</p>
<p>This is where the static maps prove very useful and are an easy and quick addition to any web page, whether or not you use Google&#8217;s <a title="Static Map Wizard" href="http://gmaps-samples.googlecode.com/svn/trunk/simplewizard/makestaticmap.html" target="_blank">static map wizard</a>.<span id="more-19"></span></p>
<p style="text-align: center;"><img class="aligncenter" src="http://maps.google.com/staticmap?center=51.235912,-0.751019&amp;zoom=13&amp;size=600x250&amp;key=ABQIAAAAKZicTwgioOORlE6jmhLsXBSLEcCEqrS14fPXnqPSoKgS_zqOmBQ4lOPHeR_Ny16Tb4dvQyff2an2gw" alt="Google Static Maps API Example" width="600" height="250" /></p>
<p>Static maps are displayed as images and are configured by a number of parameters sent as part of the image source in the http request, for example:</p>
<pre lang="text">http://maps.google.com/staticmap?center=51.235912,
-0.751019&amp;zoom=13&amp;size=460x250&amp;key=API_KEY</pre>
<p>To use the static maps you are required to sign up for a Google Maps API key which can be obtained from <a title="Sign up for a Google Maps API Key" href="http://code.google.com/apis/maps/signup.html" target="_blank">here</a>, although if you already have a JS API key this can be used.</p>
<p>When it comes to road map views the static maps provide you with many of the features available in the JS version, including but not limited to zoom levels, markers and polyline paths.</p>
<p>One downside I encountered was that static maps does not provide the ability to display satellite or hybrid imagery, or at least as far as I am aware.</p>
<p>There is also a query limit of 1000 unique (different) image requests  per viewer per day, but a quick browse at the <a title="Google Groups - Maps API" href="http://groups.google.com/group/Google-Maps-API" target="_blank">Google Group</a> for the Maps API highlighted a few posts encouraging people to cache their results.</p>
<p>Even if you prefer to stick to the JS version at least now you can display some form of output to any visitors without JavaScript or with JS disabled, although they&#8217;re not as dynamic at least there&#8217;s something for them visually.</p>
<p><strong>UPDATE </strong></p>
<p>Since originally posting this, Google have announced the new static map features on the <a title="Official Google Maps API Blog" href="http://googlemapsapi.blogspot.com/" target="_blank">Google Maps API Blog</a>, bringing to our attention the introduction of the new marker styles, paths, map image formats and the ability to translate labels into a number of languages. Read the <a title="Static Maps Have Never Looked This Good!" href="http://googlemapsapi.blogspot.com/2008/04/static-maps-have-never-looked-this-good.html" target="_blank">full post here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://flav36rs.com/2008/04/30/google-static-maps-api/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

