Using maps in offline mode - android

I'm starting developing a project of an android app.
For this project i need a map where i can draw circles, polylines and polygons and click in all of this draw shapes to show informations about each one. At this point, googlemaps + spatialite or googlemaps + quadtree + utils to identify if a LatLng belongs to a circle/polyline/polygon can solve the problem but i have one more requirement: i need to cache a zone of the map to work with it on the street without internet. I know that google maps official app can do this with th typing of "Ok Maps" but there are anyway to use that cache in my application? There are another way to do a cache of the map before going to the street and go without internet?
Preferably i would like to use google maps but I'll have to use another api? What?
Regards

Due to the need for Google to check your api key, I have not seen any way for third party apps to access google maps offline. If you need offline capabilities, one of the main solutions is something called osmdroid which has a similar interface to google maps but you can cache tiles for offline use.
OSMDroid

Related

How to do indoor directions on an Android Google Map

I am doing an app that allows users to get directions from one room to the next room of the same building and require the application to show the user indoor directions. I have tried and tested the Google Maps Intent which opened the Google Maps app and gave directions from one room to the next. I am required to not allow the user to open up an external map app and then receive directions. Instead they must use the Google Map built into my application. I was wondering if it's at all possible to do indoor directions on Google Maps Android API. Would genuinely appreciate any help I get. Thanks!
The Google Maps Android API v2 has options for indoor maps. See https://developers.google.com/maps/documentation/android/ under 'Indoor Maps' for a quick example.
Of course, that doesn't prevent them from using an external app by itself, but it does let you provide them indoor map data in your app.
Well I think you should have to start by using internal sensors to navigate. Add an indoor map of the building so that you would know where you are at in the building.

Bing maps on android app, any questions

Hi guys I'm new on android dev and I wanna ask you some questions about the potential of bing maps on android because Google Maps I've in my first app doesn't allow me on v2 api to remove business POI. So I've decided to use bing maps because I've seen that it has this opportunity, but I wanna ask you if I can call gmaps for navigation to a location from my app that use bing maps.
If you wanna suggest any other maps that allow to remove POIs made by map it's very appreciate
First off, Bing Maps doesn't have an option to remove the POI's that are on the map tiles. Want to make sure you are aware of that before you get too far here. As for mixing the data from two different map providers, this isn't generally allowed. However if you are just launching the other app this shouldn't be much of an issue.

Is there a way to cache map locally

Am using Google Maps Android V2 in my application. It take too much time to load. do make use of markers to point some particular location. So I was wondering is there a way to cache map or to store a particular area.Is it possible in my app..??
EDIT
In default Maps app we can cache the on screen map. How do they do that..??
I would advise against such actions(caching the map somehow and displaying it) since it is forbidden by Google terms of use.
There isnt an offline version of Google maps for android(or i am not aware of it, since i couldnt find it when needed a year ago)...the solution is to go with different map api if you really require this.
Are you doing some extensive calculations for your map marker or database work, etc..?
For example i didnt experience slow loading times with google maps when using regular data service internet and loading around 350 map markers on predefined positions...
Please check out this answer, how to use google map in offline app. This is based on osmdroid and also be aware of Google terms of use googleMap.

Android application using offline satellite map

I've been browsing the internet for two days now looking for the best way to do this, here is my concern :
I'm currently developing an Android application where the user has to browse a map (preferably satellite view), add markers etc. The problem is that the user will often be in a spot without internet access.
Some info i gathered (correct me if I'm wrong):
Google earth doesn't have an Android API
Last Google map api for Android allows the developer to implement his own TileProvider (http://guides.cocoahero.com/google-maps-android-custom-tile-providers.html).
It's forbidden to cache google maps data
So at the end my questions are :
Is it possible to use the Android Google Map API to display tiles from another data source than google maps ?
If so what would be a good source of satellite map, available offline ?
I'm new to Android development so I wanted to ask you guys before trying it out!
Thanks in advance

Map interface for Android Application

Currently, I am working on the development of an application for Android devices, which will include indoor tracking and routing.
On the one hand, the administrator of this application will upload an image of the map, so users' locations will be projected on this map. On the other hand, a user will be able to zoom in/out, navigate the map, get information and other similar actions that are available on the Google Map Services.
I have been reading in the Android API documentation and I came across MapView. Even though MapView is a complete and robust library, it is not going to help me since it makes use of the Google Maps Service.
My question is whether another (similar) API exists for viewing and managing a Map, besides the MapView.
Thank you for your time.

Categories

Resources