Tag Info

New answers tagged

0

You might have more options if you consider vector-data sources also. If you are a bit familiar with GIS you can render and export the shapefile with the look you want for you map. If not these are relatively easy GIS tasks and not too difficult to get into. naturalearthdata.com has some nice shapefiles with world political boundaries. I think they have a ...


0

In my work, I combine SpatiaLite and the JTS library to display large shapefiles(SpatiaLite r-tree) and so far so good! My offline map base is OSM-Android or RMaps. Sorry for my poor English.


0

Yes, you can use custom tiles with Android Maps API v2 - you can see a fully working example in our OpenTripPlanner for Android app on Github. (You can also download the app directly from Google Play) We support the following tile providers: LyrkOpenStreetMap MapQuestOpenStreetMap Mapnik CycleMap Google (normal, satellite, hybrid, terrain) Our ...


0

The most extensive solution I have found is in this StackOverflow Answer: Basically you need to implement your own TileProvider and use that as an TileOverlay In a couple of applications we have used this kind of layer to show tiles on the map, but we found the tiles took up a lot of space. Hence we shifted to using mbtiles and this library to display the ...


0

Technically we don't support shapefiles with ArcGIS Runtime SDK for Android, but it can be done. Concerning loading points from a json file you need to parse the geojson file. // Making the request and getting the response HttpClient client = new DefaultHttpClient(); HttpGet req = new HttpGet(url); HttpResponse res = client.execute(req); // Converting ...


1

My favorite app for doing these kinds of things is Locus map free. It can import KML file amongst many other formats, and can work completely offline. If you need a base map, you can either download it within the app (for a fee) or add your own data either in mbtiles, or one of the other myriad formats that it supports.


0

For a fully native Android solution (with no HTML/Javascript): If you want a standard map, with specific features displayed on it (points with pop-ups, lines, polygons...), you could use OSMBonusPack: Define your features as a KML file (using for instance Google Maps web site or Google Earth) Display this KML file with OSMNavigator application If the ...


0

National Earth SQLite database uses Well-known binary format in GEOMETRY column. It's well described on this Wikipedia page, however you can also find some libraries to handle it, for example http://geophp.net/ If you want to use it with SpatiaLite, here is example of SQL query: SELECT name, GeometryType(GeomFromWKB(GEOMETRY)) FROM ne_10m_admin_0_countries ...



Top 50 recent answers are included