×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Nokia Developer Champion
    Join Date
    Apr 2005
    Location
    Boston
    Posts
    517

    MH5 dragle mark and API Explorer examples

    Ciao,

    I wanted to know if there is an example somewhere for MH5 regarding dragle marker like this one

    Trying to do some technology investigation and noticed that MH5 is really cool but the site lacks of examples.
    It would be great to have the same sample from the API explorer for MH5.

    Alessandro

  2. #2
    Registered User
    Join Date
    Aug 2012
    Posts
    12

    Re: MH5 dragle mark and API Explorer examples

    I'm a noob at MH5, but as much as I've figured it out, there's a poiclick event...once you click a poi (i.e. a marker you created using the createPoi) of your choice have it set some bool so you'll know your map is in marker dragging mode...after that my guess is one should use mapmovestart: function(e) {} and mapmoveend: function(e) {} listeners .... hopfully that helps.

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

    Re: MH5 dragle mark and API Explorer examples

    Hi Alessandro,

    unfortunately, the requested example doesn't exist. Because we don't have this feature in MH5 yet you would need to do the entire job on your own like:

    - add touchstart/touchmove/touchend events to map.root;
    - check in touchstart if the coordinates of the event are inside the created poi;
    - move the poi accordingly to the touchmove event;
    - release the pois after the touchend event


    Br,
    Leo

  4. #4
    Nokia Developer Champion
    Join Date
    Apr 2005
    Location
    Boston
    Posts
    517

    Re: MH5 dragle mark and API Explorer examples

    Ciao Leo,

    I understand but I am doing some technology investigation before doing prototyping and it would help, not only for me, to have some examples as the other APIs.

    Alessandro

Similar Threads

  1. private dir explorer
    By julie_777 in forum Symbian
    Replies: 2
    Last Post: 2011-10-21, 12:54
  2. Internet Explorer
    By melanie01 in forum Web TV (closed)
    Replies: 1
    Last Post: 2011-09-19, 19:23
  3. How to add a file explorer into GUI
    By liuxingyu_best in forum Symbian User Interface
    Replies: 1
    Last Post: 2008-08-19, 15:51
  4. The Node Explorer
    By cyrilmartins in forum Mobile Java General
    Replies: 0
    Last Post: 2005-11-08, 17:30

Posting Permissions

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