Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <ol> <li><p>I prefer google maps. Google maps SDK looks good and the sdk performs well. I don't know a SDK that has something like a <code>OSMMapView</code> that offers the same performance and features like google maps does (please correct me). But OSM can be as visual appealing as google maps. <a href="http://maps.cloudmade.com/" rel="nofollow noreferrer">Cloudmade</a> has tons of different styles for OSM data.</p></li> <li><p>If you want to display maps by google, you have to use the <a href="http://code.google.com/android/add-ons/google-apis/index.html" rel="nofollow noreferrer">Maps Library</a> that ships with the Android SDK.</p> <ol> <li><p>You can display any Views on top of the google maps. I.e. use <a href="https://github.com/jgilfelt/android-mapviewballoons" rel="nofollow noreferrer">mapviewballoons</a> on github.</p></li> <li><p>If you have lots of POIs that you want to display you should definitely persist you data with a spatial index. So that nearest neighbour searches are fast. One solution would be to use sqlite <a href="http://www.sqlite.org/rtree.html" rel="nofollow noreferrer">R*Trees</a>. I did not use them on android and they work not out of the box you have to build sqlite-android yourself (see <a href="https://stackoverflow.com/questions/6132442/android-sqlite-r-tree-how-to-install-module">this question</a>). Or use <a href="http://www.mcobject.com/android" rel="nofollow noreferrer">Perst</a>, or ...</p> <p>If you have few data, that fits into the phone memory you can use a <a href="http://en.wikipedia.org/wiki/Quadtree" rel="nofollow noreferrer">Quadtree</a>. This would be even faster than the db when searching it. You will find lots of examples when you google it. You could store the data as xml, json or even serialize the whole quadtree with the java <code>Serializable</code> interface. </p></li> </ol></li> <li><p>There are tons of possibillities this question is way too broad. Some random ideas:</p> <ol> <li><p>Create a server that responds to bounding box searches over HTTP and store the POIs in a Quadtree.</p></li> <li><p>Deliver all your POIs with the app. As database, xml, json or a serialized Quadtree.</p></li> </ol></li> <li><p>I don't have experience with kml on Android.</p></li> </ol>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload