Qt World Summit: Register Today!

Animation on coordinate

  • 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?


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

  • 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

Log in to reply