GNOME Bugzilla – Bug 699870
cooridanate properties changes not notified
Last modified: 2013-05-07 23:16:12 UTC
It would seem that in git master of libchamplain, updates to "latitude" and "longitude" properties of ChamplainView are not triggering notify signals, at least when view is changed due to user interaction. FWIW, This is what Maps use for keep tracking of view changes so that if user's location is no longer visible, we can automatically disable the 'track me' button.
Over the weekend I made some more changes in this area so it should work now. Please test. Note that you won't be notified every time the latitude/longitude changes during the panning - this would be 60-times per second and people have objected in the past that this is too often (e.g. when you need to draw something based on the change) and slows down the animation. So you'll get only about 3 notifications per second and a notification for the final position.
(In reply to comment #1) > Over the weekend I made some more changes in this area so it should work now. > Please test. Yeah, this works now. I broke somethings on my end in the meantime though. :) > Note that you won't be notified every time the latitude/longitude changes > during the panning - this would be 60-times per second and people have objected > in the past that this is too often (e.g. when you need to draw something based > on the change) and slows down the animation. So you'll get only about 3 > notifications per second and a notification for the final position. Its fine. I really don't need a lot of granularity here.