Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4362: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4364: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4365: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4366: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
anddev.org • View topic - Detect when pan animation is completed

Detect when pan animation is completed

Put problem concerning MapActivities, MapViews, Overlays and GPS in this forum.

Detect when pan animation is completed

Postby appricot » Mon Jan 11, 2010 5:03 pm

Hey everyone,
I am wondering if there is a simple way to detect when the pan animation of a map finishes. in other words, i don't simply detect ACTION_UP, because the map can still be moving to a different center after the finger is released from the touch display (in case you fling it!).

Thanks, Ralf
appricot
Once Poster
Once Poster
 
Posts: 1
Joined: Tue Dec 08, 2009 5:50 pm

Top

Postby piuccio » Mon Jan 11, 2010 11:36 pm

You can send an delayed message and check after a while if the map is still moving.
Maybe it's not the best solution but it works.
piuccio
Freshman
Freshman
 
Posts: 3
Joined: Sun Sep 06, 2009 11:43 am

Postby qlimax » Tue Jan 12, 2010 12:45 am

an idea would be to start a thread on key up

then wait i.e 2 seconds,

then call this on your map controller
http://code.google.com/intl/it/android/ ... boolean%29

and join the thread before doing any stuff with the center coordinates


bye
¯`·.¸¸.><((((º>¯`·.¸¸. ><((((º>
User avatar
qlimax
Master Developer
Master Developer
 
Posts: 271
Joined: Mon Aug 31, 2009 10:54 am
Location: Swiss

Top

Return to Map Problems

Who is online

Users browsing this forum: No registered users and 3 guests