Now I have the tag working as well, but I ran into a weird problem.
After I display all of the infobubbles, the map wants to keep them in the window (sort of centered), so when I try to pan the map,...
Type: Posts; User: tomgiam; Keyword(s):
Now I have the tag working as well, but I ran into a weird problem.
After I display all of the infobubbles, the map wants to keep them in the window (sort of centered), so when I try to pan the map,...
I'm not sure if this is an mh5 bug or I'm not using it correctly, but if I replace the ready: function code with this:
var pois = new Array();
var poi = map.createPoi(nokia.mh5.assetsPath...
To close it is easy, but I still can't figure out how to open it.
This code will close all displayed infoBubbles:
var infobs = window.map.infoBubbles;
for(i=0;i<infobs.length;i++)
...
I found out that the problem was that I was not including the Nokia lib/colors.css file.
Now it works fine.
Thanks
Tom
Hi Leo,
I tried it with the new 1.0.2 version and it's better:
#1 is still there
#2 is fixed
#3 still happens, but only when I zoom in all the way. On the last zoom In, the map graphic quality...
Yes, that helps.
Is there a way to know or estimate how much data will be sent before starting the download e.g. 5MB?
Thanks
Tom
Before saving a map for offline use, how can you tell how much map detail/zoom levels will be saved?
Is there a calculation based on the bounding box?
Thanks
Tom
I save a map to an android device and it works, but I see a couple of strange things:
1. When I move the map past the bounding box saved (using gestures), the background does not redraw so the...
Is it possible now or in the near future to display venues on the map? e.g. detailed internal maps of malls, airports, stadiums etc...
Will it handle multiple levels? e.g. first floor, second floor...
OK, thanks, I know how to do this now.
Can you show me an MH5 example using a Canvas to draw images on a poi?
I want to draw the standard poi categoryIcon, and then overlay it with 2 other smaller images and/or text.
Thanks
Tom
Hi Leo,
That didn't fix it.
Thanks
Tom
That works.
Thanks
I think it was caused by my code which was using poi = map.createPoi and then storing the pois into an array (poisarray) and then using map.pois = poisarray.
It's working now that I don't assign...
That works!
Thanks
Is it possible to have the image zoom in/out based on the map zoom level?
I want to overlay the map with an image that occupies a specific area on the map (e.g. like a building).
Thanks
Tom
I'm not trying to customize it. I'm just trying to change the marker image from the one I loaded initially to a new one. It should be one line of code i.e.
poi.categoryIcon = new_img;
but it's...
I need to click the poi icon several times and I get a poiclick event after a random number of retries. The code is:
window.map = new nokia.mh5.components.Map({
...
What is the best way to change the image for the categoryIcon of a poi already on the map?
I tried changing the image of an existing poi by using:
poi.categoryIcon = img;
but that didn't...
Hi Leo,
The array is not empty and the "name" property is there. I noticed that it was complaining about a "listener", so after I added this to the map control, the showInfoBubble started to work:...
It works with nokia.mh5.geolocation.
Thanks
Tom
Sorry, my mistake. It works in Chrome as well. The icon was just not shown because the UI has scroll bars so the whole map is not shown.
I need to get rid of the scroll bars in the UI.
Thanks
Tom
On Firefox, IE and Android the get current position Icon (Green dot inside of rounded square on bottom left) is displayed, but not on Chrome (version 23).
Any reason?
Is there a way to...
With Chrome, this HTML5 code works fine by itself and with JQuery Mobile, but in my application that uses JQUery Mobile and Nokia HTML5 map, it times out (error code=3).
With Firefox and IE it works...
I'm using this code to show all info bubbles on map, but it's not showing any. They remain as markers.
var pois = map.pois;
for(var poi in pois)
...