Draw 100s of lines from SQLITE db

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

Draw 100s of lines from SQLITE db

Postby flipper44 » Tue May 17, 2011 8:34 pm

Anybody Tackle this hurdle?
I have several hundred lines with x1,y1,x2,y2 coordinate pairs stored in a SQLITE database on my device.
I would like to draw these on the map, and Be able to have the map track me as I move.
No problem drawing the lines, no problem doing GPS tracking...BIG PROBLEM Doing both because it locks up...Too many lines with too many canvas refreshes is my guess.

I see lots of programs that do this successfully however...What gives???? I am new to threading and getting lost.
Does anybody have an example, even if it draws hundreds of lines drawn from KML, or an Array if not SQLITE.

If possible I'd love it if the lines were tappable, but I can always query by polygon off point...

PLEASE
flipper44
Freshman
Freshman
 
Posts: 4
Joined: Thu Apr 22, 2010 3:03 pm
Location: Appleton, WI

Top

Return to Map Problems

Who is online

Users browsing this forum: No registered users and 8 guests