Discussion Board

Results 1 to 4 of 4
  1. #1
    Nokia Developer Champion biskero's Avatar
    Join Date
    Apr 2005
    Location
    Boston
    Posts
    515
    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 ntek's Avatar
    Join Date
    Aug 2012
    Posts
    8
    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 ZieL's Avatar
    Join Date
    Mar 2012
    Posts
    55
    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 biskero's Avatar
    Join Date
    Apr 2005
    Location
    Boston
    Posts
    515
    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 C++
    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. Process Explorer
    By txupete in forum Symbian
    Replies: 1
    Last Post: 2009-01-29, 17:43
  4. 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
  5. 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
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved