<?xml version="1.0" encoding="UTF-8"?>

<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
	<channel>
		<title>Nokia Developer Community - Discussions - MH5: Nokia Maps Framework for mobile HTML5</title>
		<link>http://www.developer.nokia.com/Community/Discussion/</link>
		<description>Create cross platform native-like HERE Map applications using HTML5 and JavaScript.</description>
		<language>en</language>
		<lastBuildDate>Wed, 22 May 2013 16:57:02 GMT</lastBuildDate>
		<generator>vBulletin</generator>
		<ttl>60</ttl>
		<image>
			<url>http://www.developer.nokia.com/Community/Discussion/images/misc/rss.png</url>
			<title>Nokia Developer Community - Discussions - MH5: Nokia Maps Framework for mobile HTML5</title>
			<link>http://www.developer.nokia.com/Community/Discussion/</link>
		</image>
		<item>
			<title>HTML5 + KML ?</title>
			<link>http://www.developer.nokia.com/Community/Discussion/showthread.php?240464-HTML5-KML&amp;goto=newpost</link>
			<pubDate>Wed, 22 May 2013 16:34:02 GMT</pubDate>
			<description><![CDATA[HI 
 
I would like to display our POI base in KML format on HERE Maps HTML5 for mobile. Is it possible and what is the code that I should add to this one above? Thanks 
 
<!doctype html> 
<html> 
<head> 
<meta name="viewport" content="width=device-width, initial-scale=1.0, 
maximum-scale=1.0,...]]></description>
			<content:encoded><![CDATA[<div>HI<br />
<br />
I would like to display our POI base in KML format on HERE Maps HTML5 for mobile. Is it possible and what is the code that I should add to this one above? Thanks<br />
<br />
&lt;!doctype html&gt;<br />
&lt;html&gt;<br />
&lt;head&gt;<br />
&lt;meta name=&quot;viewport&quot; content=&quot;width=device-width, initial-scale=1.0,<br />
maximum-scale=1.0, user-scalable=no&quot;&gt;<br />
&lt;link rel=&quot;stylesheet&quot;<br />
href=&quot;http://api.maps.nokia.com/mobile/1.0.2/lib/mh5.css&quot;&gt;<br />
&lt;link rel=&quot;stylesheet&quot;<br />
href=&quot;http://api.maps.nokia.com/mobile/1.0.2/lib/colors.css&quot;&gt;<br />
&lt;/head&gt;<br />
&lt;body class=&quot;mh5_hwacc_body&quot;&gt;<br />
&lt;script src=&quot;http://api.maps.nokia.com/mobile/1.0.2/lib/mh5.js&quot;&gt;<br />
&lt;/script&gt;<br />
&lt;div id=&quot;app_location&quot;<br />
style=&quot;width: 320px; height: 480px; position: relative;&quot;&gt;<br />
&lt;/div&gt;<br />
&lt;script&gt;<br />
nokia.mh5.assetsPath =<br />
&quot;http://api.maps.nokia.com/mobile/1.0.2/lib/&quot;;<br />
nokia.mh5.app.embed ({<br />
domNode: &quot;#app_location&quot;,<br />
&quot;appId&quot;: &quot; myid &quot;,<br />
&quot;appCode&quot;: &quot; mycode &quot;,<br />
});<br />
&lt;/script&gt;<br />
&lt;/body&gt;<br />
&lt;/html&gt;</div>

]]></content:encoded>
			<category domain="http://www.developer.nokia.com/Community/Discussion/forumdisplay.php?294-MH5-Nokia-Maps-Framework-for-mobile-HTML5">MH5: Nokia Maps Framework for mobile HTML5</category>
			<dc:creator>studentproject</dc:creator>
			<guid isPermaLink="true">http://www.developer.nokia.com/Community/Discussion/showthread.php?240464-HTML5-KML</guid>
		</item>
		<item>
			<title>mh5 and jquery mobile: problem creating a second map on a second page.</title>
			<link>http://www.developer.nokia.com/Community/Discussion/showthread.php?240422-mh5-and-jquery-mobile-problem-creating-a-second-map-on-a-second-page&amp;goto=newpost</link>
			<pubDate>Fri, 17 May 2013 19:51:24 GMT</pubDate>
			<description><![CDATA[Hi again, 
I'm having a second problem: 
 
I'm using jQuery mobile, I have two pages, both of which contain an mh5 Map Widget. 
 
First, I enter page A. 
On the 'pagecreate' event, I create a map object and display it: 
 
Code: 
---------]]></description>
			<content:encoded><![CDATA[<div>Hi again,<br />
I'm having a second problem:<br />
<br />
I'm using jQuery mobile, I have two pages, both of which contain an mh5 Map Widget.<br />
<br />
First, I enter page A.<br />
On the 'pagecreate' event, I create a map object and display it:<br />
<div class="bbcode_container">
	<div class="bbcode_description">Code:</div>
	<hr /><code class="bbcode_code">&nbsp; &nbsp; &nbsp; &nbsp; var settings = {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; settingsButton: null,<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; infoBubble: {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; content: [&quot;title&quot;, &quot;description&quot;],<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; right: &quot;/mobile/css/images/okbtn.png&quot;,<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; rightDelimiter: true,<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; listeners: {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; click: function(e) {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; console.log(e);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; },<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; rightclick: function() {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; console.log('rightclick');<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; };<br />
&nbsp; &nbsp; &nbsp; &nbsp; var map = new nokia.mh5.components.Map(settings);<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; $('#mapContainerA').empty().append(map.root);</code><hr />
</div>then I create some POI:<br />
<div class="bbcode_container">
	<div class="bbcode_description">Code:</div>
	<hr /><code class="bbcode_code">var poi = map.createPoi(options.poiImage, {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; longitude: loc.longitude,<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; latitude: loc.latitude,<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; content: [&quot;title&quot;, &quot;description&quot;],<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; name: place.street + &quot; &quot; + place.houseNo,<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; description: place.postcode + &quot; &quot; + place.place<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; });</code><hr />
</div>This works like a charm. Clicking on a POI opens the infoBubble, and clicking on the infoBubble triggers the events.<br />
<br />
<br />
However, if I change to page B, I run into problems.<br />
The code for this page is exactly the same except the ID for the map object - it's 'mapContainerB' instead of 'mapContainerA'.<br />
<br />
Unfortunately, on this page, clicking on the Map does not open infoBubbles. And after opening the infoBubbles with <br />
<div class="bbcode_container">
	<div class="bbcode_description">Code:</div>
	<hr /><code class="bbcode_code">map.showInfoBubble(poi);</code><hr />
</div>neither the click event nor the rightclick event do trigger.<br />
<br />
Same scenario other way round:<br />
Refresh the page, start with page B: page B works like a charm. Go to page A: click events broken. I can move around the map without problems, but infoBubbles have the same problems as described above.<br />
<br />
<br />
<br />
As you might know, jQuery mobile does not reload the web page upon changing. It keeps the old page in the DOM and loads a new page additionally.<br />
This might lead to all funny kinds of global variable collisions or object ID collisions.<br />
For my own pages, I've made sure, this doesn't happen, but of course I can't do that for mh5.<br />
<br />
Is there any function to completely eradicate all mh5-associated divs, canvas elements, javascript global variables, whatever else you might think of, to prevent that?<br />
<br />
Or is the solution even much more easier and I just don't see it?</div>

]]></content:encoded>
			<category domain="http://www.developer.nokia.com/Community/Discussion/forumdisplay.php?294-MH5-Nokia-Maps-Framework-for-mobile-HTML5">MH5: Nokia Maps Framework for mobile HTML5</category>
			<dc:creator>lweber</dc:creator>
			<guid isPermaLink="true">http://www.developer.nokia.com/Community/Discussion/showthread.php?240422-mh5-and-jquery-mobile-problem-creating-a-second-map-on-a-second-page</guid>
		</item>
		<item>
			<title>setting map.box zooms all the way out</title>
			<link>http://www.developer.nokia.com/Community/Discussion/showthread.php?240416-setting-map-box-zooms-all-the-way-out&amp;goto=newpost</link>
			<pubDate>Fri, 17 May 2013 15:27:39 GMT</pubDate>
			<description><![CDATA[Hi, 
I have a problem using nokia.mh5.components.Map. 
 
I have a map object, it is already attached to my DOM and I'm trying the following call: 
 
 
Code: 
--------- 
map.box = [{latitude: 52.48418475521959, longitude: 13.247291576673867}, {latitude: 51.568805705543554, longitude:...]]></description>
			<content:encoded><![CDATA[<div>Hi,<br />
I have a problem using nokia.mh5.components.Map.<br />
<br />
I have a map object, it is already attached to my DOM and I'm trying the following call:<br />
<br />
<div class="bbcode_container">
	<div class="bbcode_description">Code:</div>
	<hr /><code class="bbcode_code">map.box = [{latitude: 52.48418475521959, longitude: 13.247291576673867}, {latitude: 51.568805705543554, longitude: 13.737773218142548}];</code><hr />
</div>This centers the box correctly, but also it zooms out to zoom level 3 (which is not of much use).<br />
<br />
Calling now <div class="bbcode_container">
	<div class="bbcode_description">Code:</div>
	<hr /><code class="bbcode_code">map.covers([{latitude: 52.48418475521959, longitude: 13.247291576673867}, {latitude: 51.568805705543554, longitude: 13.737773218142548}])</code><hr />
</div>returns true - which is obviously correct, but after I call<br />
<div class="bbcode_container">
	<div class="bbcode_description">Code:</div>
	<hr /><code class="bbcode_code">map.zoom = 5;</code><hr />
</div>which zooms in a bit but still shows the whole of europe, the same call to map.covers already returns false - even though both of these coordinates are in eastern germany, so the call should obviously return true!<br />
<br />
<br />
Can anybody tell me if this is a bug or if I'm just calling the wrong methods to zoom into a box?</div>

]]></content:encoded>
			<category domain="http://www.developer.nokia.com/Community/Discussion/forumdisplay.php?294-MH5-Nokia-Maps-Framework-for-mobile-HTML5">MH5: Nokia Maps Framework for mobile HTML5</category>
			<dc:creator>lweber</dc:creator>
			<guid isPermaLink="true">http://www.developer.nokia.com/Community/Discussion/showthread.php?240416-setting-map-box-zooms-all-the-way-out</guid>
		</item>
		<item>
			<title>Why is not working Nokia Here HTML5?</title>
			<link>http://www.developer.nokia.com/Community/Discussion/showthread.php?240324-Why-is-not-working-Nokia-Here-HTML5&amp;goto=newpost</link>
			<pubDate>Sun, 12 May 2013 16:59:44 GMT</pubDate>
			<description><![CDATA[I have followed all the example from: Nokia Here HTML5 (http://developer.here.com/mobile_html5) This is the code from the example that I read: 
 
Code: 
--------- 
<html> 
        <head> 
                <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0,...]]></description>
			<content:encoded><![CDATA[<div>I have followed all the example from: <a href="http://developer.here.com/mobile_html5" target="_blank">Nokia Here HTML5</a> This is the code from the example that I read:<br />
<div class="bbcode_container">
	<div class="bbcode_description">Code:</div>
	<hr /><code class="bbcode_code">&lt;html&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;head&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;meta name=&quot;viewport&quot; content=&quot;width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;!-- You should also add the following meta tags to support Blackberry 7.0+ devices --&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;meta name=&quot;HandheldFriendly&quot; content=&quot;True&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;meta name=&quot;touch-event-mode&quot; value=&quot;native&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;meta name=&quot;cursor-event-mode&quot; value=&quot;native&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;!-- To disable address sniffing and prevent native maps from starting, use the following meta tags --&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;meta name=&quot;format-detection&quot; content=&quot;telephone=no&quot;/&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;meta name=&quot;format-detection&quot; content=&quot;address=no&quot;/&gt;<br />
&lt;!--&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;link rel=&quot;stylesheet&quot; href=&quot;http://api.maps.nokia.com/mobile/1.0.2/lib/mh5.js&quot;&gt;--&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;link rel=&quot;stylesheet&quot; href=&quot;http://api.maps.nokia.com/mobile/latest/lib/colors.css&quot;&gt;<br />
&lt;!--&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;script src=&quot;http://api.maps.nokia.com/mobile/1.0.2/lib/mh5.js&quot;&gt;&lt;/script&gt;--&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;script src=&quot;http://api.maps.nokia.com/mobile/latest/lib/mh5.js&quot;&gt;&lt;/script&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;/head&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;body class=&quot;mh5_hwacc_body&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;div id=&quot;app_location&quot; style=&quot;width:320px; height:480px; position:relative;&quot;&gt;&lt;/div&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;script&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; nokia.mh5.assetsPath = &quot;http://api.maps.nokia.com/mobile/1.0.2/lib/&quot;;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; nokia.mh5.app.embed({<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; domNode: &quot;#app_location&quot;,<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; appId: &quot;_peU-uCkp-j8ovkzFGNU&quot;,<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; appCode: &quot;gBoUkAMoxoqIWfxWA5DuMQ&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; });<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/script&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;/body&gt;<br />
&lt;/html&gt;</code><hr />
</div>I don't know why is not working only shows a white screen. And I have another question with <i>Nokia Here HTML5</i> is able to add markers and clustering as JS option?</div>

]]></content:encoded>
			<category domain="http://www.developer.nokia.com/Community/Discussion/forumdisplay.php?294-MH5-Nokia-Maps-Framework-for-mobile-HTML5">MH5: Nokia Maps Framework for mobile HTML5</category>
			<dc:creator>FANMixco</dc:creator>
			<guid isPermaLink="true">http://www.developer.nokia.com/Community/Discussion/showthread.php?240324-Why-is-not-working-Nokia-Here-HTML5</guid>
		</item>
	</channel>
</rss>
