开发者

Make a mapkit annotation slide into its new location

IOS 4 lets 开发者_运维问答you modify the locations of mapkit annotations by setting their location property, however this simply jumps it into its new position.

On the other hand, the blue dot that signifies the users current location slides nicely into its new location whenever it is updated.

Is there anyway I can do these sorts of animations when I update the location of my annotations? I suppose I could divide the long/lat points between the 2 locations and update the location at certain incremeents to make it seem like its animating but I'm not sure if thats very efficient.

Any other ideas?


Have you tried beginning and animation block, updating the position and commiting the block? Not sure but worth a go.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜