Open stleusc opened 10 years ago
This addition sounds reasonable to me. We are currently discussing how the general event mechanism should be done though. Falko is working on it. I'll get back to it on Monday.
In animCancel it should be
mMap.post(new Runnable{public void run(){ fireAnimationEnded();}}
to execute it on the main-thread since updateAnimation is called from gl-thread
What would be perfect is to be able to get:
either as 6 different listeners or as 2 listeners which option to specify type of event (pan, rotate, tilt)
Any update for this topic?
no, not yet. the decision on how event-dispatcher should be done is still pending
we are actually working on it, however will take some more days.
Any update/progress here? Happy to test if there is anything.
You don't happen to have an update here, do you?
@FalkoSchmid any update on this topic?
I want to be able to register a listener to determine that the map position has changed. I already can do that using bind(...), but it fires while panning the map around. What do I need to know is a 'confirmed' change. What do I mean with that?
So far I solved it by tweaking MapAnitmator.java to be able to register a listener and combining this with the bind(...)
Ideal would be one callback for any confirmed map position change and being able to register for pan, rotate, tilt separately. In case of pan/rotate event both should be fired.