×

Discussion Board

Search:

Type: Posts; User: tomgiam; Keyword(s):

Page 1 of 2 1 2

Search: Search took 0.01 seconds; generated 1 minute(s) ago.

  1. Replies
    9
    Views
    9,168

    Re: MH5 Show/Hide Infobubbles

    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,...
  2. Replies
    9
    Views
    9,168

    Re: MH5 Show/Hide Infobubbles

    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...
  3. Replies
    9
    Views
    9,168

    Re: MH5 Show/Hide Infobubbles

    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++)
    ...
  4. Re: Map Control background is transparent with JQuery Mobile

    I found out that the problem was that I was not including the Nokia lib/colors.css file.
    Now it works fine.

    Thanks
    Tom
  5. Replies
    4
    Views
    4,654

    Re: MH5 Saved map "smears" graphic when panning

    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...
  6. Re: MH5 - How to tell how much map detail/zoom levels will be saved?

    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
  7. MH5 - How to tell how much map detail/zoom levels will be saved?

    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
  8. Replies
    4
    Views
    4,654

    MH5 Saved map "smears" graphic when panning

    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...
  9. Replies
    1
    Views
    2,665

    MH5 - Display venues on map

    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...
  10. Re: MH5 example using Canvas to draw images on poi

    OK, thanks, I know how to do this now.
  11. MH5 example using Canvas to draw images on poi

    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
  12. Re: Map Control background is transparent with JQuery Mobile

    Hi Leo,

    That didn't fix it.

    Thanks
    Tom
  13. Replies
    8
    Views
    4,527

    Re: Add image over map

    That works.

    Thanks
  14. Replies
    2
    Views
    2,589

    Re: poiclick event works randomly

    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...
  15. Replies
    4
    Views
    2,567

    Re: How to change categoryIcon of existing poi

    That works!

    Thanks
  16. Replies
    8
    Views
    4,527

    Re: Add image over map

    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
  17. Replies
    4
    Views
    2,567

    Re: How to change categoryIcon of existing poi

    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...
  18. Replies
    2
    Views
    2,589

    poiclick event works randomly

    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({
    ...
  19. Replies
    4
    Views
    2,567

    How to change categoryIcon of existing poi

    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...
  20. Replies
    9
    Views
    9,168

    Re: MH5 Show/Hide Infobubbles

    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:...
  21. Replies
    5
    Views
    5,001

    Re: MH5 Get Current location

    It works with nokia.mh5.geolocation.

    Thanks
    Tom
  22. Re: MH5 Current position Icon not displayed in Chrome

    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
  23. MH5 Current position Icon not displayed in Chrome

    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...
  24. Replies
    5
    Views
    5,001

    MH5 Get Current location

    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...
  25. Replies
    9
    Views
    9,168

    MH5 Show/Hide Infobubbles

    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)
    ...
Results 1 to 25 of 27
Page 1 of 2 1 2
×