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
[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 - draw function is called continuesly without invalidate

draw function is called continuesly without invalidate

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

draw function is called continuesly without invalidate

Postby nitinnitin18 » Wed Mar 24, 2010 10:30 pm

I have written a code t find the nearest eating and other location to a person location.
But the problem is the draw function is redrawn continuesly without calling the MapView.invalidate()
There is no other way that function might be called.
cant figure out how to limit it as it is eating my cpu cycles ...
Is there any other way then invalidate() to refresh it al such great level
Also the draw is made to return false but still no efffect.
and it is reaching the return statement in draw function.
nitinnitin18
Once Poster
Once Poster
 
Posts: 1
Joined: Wed Mar 24, 2010 10:21 pm

Top

Re: draw function is called continuesly without invalidate

Postby faedas » Thu Mar 25, 2010 12:20 am

nitinnitin18 wrote:I have written a code t find the nearest eating and other location to a person location.
But the problem is the draw function is redrawn continuesly without calling the MapView.invalidate()
There is no other way that function might be called.
cant figure out how to limit it as it is eating my cpu cycles ...
Is there any other way then invalidate() to refresh it al such great level
Also the draw is made to return false but still no efffect.
and it is reaching the return statement in draw function.


some code sure would be helpful :)
faedas
Junior Developer
Junior Developer
 
Posts: 12
Joined: Thu Dec 03, 2009 7:09 pm
Location: Germany, Aachen

Top

Return to Map Problems

Who is online

Users browsing this forum: No registered users and 4 guests