

<?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>Mobileguide Iceland &#187; YmirMobile</title>
	<atom:link href="http://www.mobileguide.is/author/admin/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mobileguide.is</link>
	<description></description>
	<lastBuildDate>Thu, 06 May 2010 12:06:38 +0000</lastBuildDate>
	
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>How we display maps</title>
		<link>http://www.mobileguide.is/2010/05/04/how-we-display-maps/</link>
		<comments>http://www.mobileguide.is/2010/05/04/how-we-display-maps/#comments</comments>
		<pubDate>Tue, 04 May 2010 09:28:26 +0000</pubDate>
		<dc:creator>YmirMobile</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[Íslenska]]></category>

		<guid isPermaLink="false">http://www.mobileguide.is/?p=242</guid>
		<description><![CDATA[Displaying maps is a very important feature of any guide, and something that we take very seriously in the Mobileguide team.  Our goal is to create a feature-rich UI specially designed to display offline map data, in either bitmap or vector format. The focus on offline map data (map-data that is saved on your device) [...]]]></description>
			<content:encoded><![CDATA[<p>Displaying maps is a very important feature of any guide, and something that we take very seriously in the Mobileguide team.  Our goal is to create a feature-rich UI specially designed to display offline map data, in either bitmap or vector format. The focus on offline map data (map-data that is saved on your device) comes naturally because it is the only way of eliminating expensive <a href="http://en.wikipedia.org/wiki/Roaming">roaming</a> fees, and we design the Mobileguide to be a completely free-service to any end-user.</p>
<p>One of the problems any developer has is of course access to high-quality map data that can be displayed offline. Map data used to be very expensive and therefore only available to large development companies, however, today there exists an open source map initiative named <a href="http://www.openstreetmap.org/">Open Street Maps</a> and useful API´s based on that data, such as <a href="http://cloudmade.com/">Cloudmade</a>.</p>
<p>We use the Open Street Maps data for all our offline map-data on the mobile devices, and can thus effectively deploy a mobile application with offline map-data from anywhere in the world. Combined with our experiences as mobile developers we can publish such a mobile application for literally hundreds of devices simultaneously.</p>
<p><strong>J2ME devices</strong></p>
<p>Clarification: <a href="http://java.sun.com/javame/index.jsp">J2ME</a> is a software development tool for mobiles that is based on Java and managed by Sun (which was recently purchased by Oracle). It is the most ubiquitous tool to date and we use it to make Mobileguide clients for Nokia, Sony Ericsson, Samsung, Blackberry and numerous other devices.</p>
<p>J2ME is generally resource limited, especially when it comes to memory.  Even numerous new devices offer J2ME applications only around 2 MB of working memory, and a maximum application size of 1 mb, which is a severe limitation especially when it comes to displaying vasts amounts of map data. Given these constraints for the majority of devices, the only realistic way of displaying vasts amounts of map data is by working with the map data in vector form (coordinates and not bitmaps) and then using the graphic primitives of the device itself to draw the map. This vastly reduces the size of the size of the map, especially when it is combined with tiling techniques for the vector data. With this approach we managed to reduce the total size of the map data for the whole of Iceland (streets, coastline, street-names and geographic location names) to 750kb, down from approximately 10 Megabytes of raw XML data.</p>
<p>The end result is not as visually pleasing as a bitmap image taken from Open Street Maps, but the map interaction is fast even on slow devices, you can easily navigate by it, and it is completely offline so you never need to worry about any costs.</p>
<div id="attachment_266" class="wp-caption aligncenter" style="width: 494px"><a href="http://www.mobileguide.is/wp-content/uploads/2010/05/j2me_map_screen.jpg"><img class="size-full wp-image-266" title="J2ME screen shots" src="http://www.mobileguide.is/wp-content/uploads/2010/05/j2me_map_screen.jpg" alt="" width="484" height="320" /></a><p class="wp-caption-text">Screenshots from an average Sony Ericsson emulator</p></div>
<p style="text-align: center;">
<p><strong>Apple &amp; Android</strong></p>
<p>With these platforms we are not plagued by the same constraints as for J2ME, the devices that are supported by these platforms are true smart-phones with extensive processing power and memory. The API´s behind these platforms are also more modern, with more features and plugins to 3rd party services. In version 1.0 and 1.1 of the iPhone version we used the <a href="http://code.google.com/p/route-me/">RouteME </a>API to display Open Street Map data.</p>
<div id="attachment_279" class="wp-caption aligncenter" style="width: 311px"><a href="http://www.mobileguide.is/wp-content/uploads/2010/05/show2.jpg"><img class="size-full wp-image-279" title="RouteME on the iPhone " src="http://www.mobileguide.is/wp-content/uploads/2010/05/show2.jpg" alt="" width="301" height="540" /></a><p class="wp-caption-text">Data from Open Street Maps displayed on the iPhone</p></div>
<p>For version 2.0, we cache the bitmap tiles directly on the device itself for the best offline experience. The whole bitmap data for Iceland is in the range of several hundred Megabytes, but by allowing the user himself to hand-pick which sections of Iceland and removing some tile layers in-between, we manage to reduce the size to a reasonable level for these devices.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mobileguide.is/2010/05/04/how-we-display-maps/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
