×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Jul 2013
    Posts
    3

    Change Map language in mh5

    Hi,


    how can I change the language of the map itself, with the mh5 Map Component?

    All examples iIsaw was for the JS APIs.

  2. #2
    Nokia Developer Expert
    Join Date
    Mar 2012
    Posts
    65

    Re: Change Map language in mh5

    Hi,

    to get localized map tiles you can use the undocumented way:

    map._map.tileLang = country code,

    e.g. map._map.tileLang = "RUS";

    The map supports the three letters country code: http://en.wikipedia.org/wiki/ISO_3166-1_alpha-3


    Br,
    Leo

  3. #3
    Registered User
    Join Date
    Jul 2013
    Posts
    3

    Re: Change Map language in mh5

    Hi,

    Thanks for the answer.
    I just found this option yesterday, but because this change is done after the Map creation, then the change does not affect immediately.
    do you happen to know how the map could be refreshed? re-rendered or something?

    Thanks!

  4. #4
    Nokia Developer Expert
    Join Date
    Mar 2012
    Posts
    65

    Re: Change Map language in mh5

    Hi,

    the following workaround helps:

    map._map.tileLang = "GER";
    map.schema = map.schema;

    Leo

  5. #5
    Registered User
    Join Date
    Jul 2013
    Posts
    3

    Re: Change Map language in mh5

    not works for me..
    language stays English.

    any idea?

Similar Threads

  1. Change the language of qt map
    By ken2008 in forum [Archived] Qt Mobility Project
    Replies: 2
    Last Post: 2011-11-01, 15:40
  2. OVI Map change Language
    By lexynet in forum Nokia Asha Web Apps
    Replies: 1
    Last Post: 2011-10-17, 11:18
  3. How to change language on .WGZ?
    By truonghan in forum Symbian
    Replies: 2
    Last Post: 2010-01-27, 12:02
  4. HOW TO CHANGE OS TO AN OTHER LANGUAGE?
    By wonghonyau in forum General Development Questions
    Replies: 4
    Last Post: 2008-10-25, 17:27
  5. Change of language
    By mc1483bis in forum General Development Questions
    Replies: 1
    Last Post: 2004-07-30, 07:49

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×