Get Geopoints From Sqlite Db
I created an SQlite database to store on it all latitudes and longitudes to display them in map. For the add of the values i didn't encouter any problem, i used this code: CoordBD
Solution 1:
Quoting myself from my reply to you on the android-developers Google Group, since you elected to cross-post:
Pass a
Cursorto yourItemizedOverlaythat contains your coordinates, retrieved from your databaseImplement
size()in yourItemizedOverlayto returngetCount()from theCursorImplement
getItem()in yourItemizedOverlaytomoveToPosition()on theCursor, read out the latitude and longitude, convert to microdegrees, create aGeoPoint, and return itUse the
ItemizedOverlayon yourMapView
Post a Comment for "Get Geopoints From Sqlite Db"