Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Animation on coordinate

Animation on coordinate

Scheduled Pinned Locked Moved QML and Qt Quick
3 Posts 3 Posters 2.1k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    huluyige
    wrote on last edited by
    #1

    Hi,

    I would like to add an animation to an mapImage's coordiate, (a thumbtack which is going to locate on map).
    Because the coordiate is "latitude & longitude" type element, rather than "x,y" type element. how do i do to make a "behavior on x "-like animation?

    Thanks

    1 Reply Last reply
    0
    • M Offline
      M Offline
      Merinas
      wrote on last edited by
      #2

      If your latitude & longitude are defined as properties you you should be able to use "behavior on" or Properties animation.

      1 Reply Last reply
      0
      • D Offline
        D Offline
        dalaing
        wrote on last edited by
        #3

        We're looking into adding support for this at some point, so that the interpolation between coordinates along a great circle will be handled for you.

        Unfortunately we don't have that at the moment, so there'll probably be a bit of maths involved. This page should be helpful if you decide to go down that road - http://www.movable-type.co.uk/scripts/latlong.html

        David Laing
        Location API team
        Qt Mobility

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved