Map interface for Android Application - android

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.

Related

Plotting a GPS trail route on a Google map, embedding to site

New to Stackoverflow, did some searching and couldn't find anything that really matched what I'm looking for unless I'm using the wrong keywords. I did find guides on how to plot a route when you know the actual route, but I'm looking to do it from actually walking it, see below:
I'm fairly new to web development and am looking to plot maps of a trail on a website using an embedded Google map or some other free map platform if it's suitable (OSM?) I have an Android phone and I'd like to actually be able to:
(1) walk this route,
(2) take the GPS data somehow &
(3) match it up to a Google map to
(4) post it on my webpage.
That will help visitors know the actual route (which is not available on Google Maps in any detail) and have somewhat of a "guide" of the near-exact trail route. I imagine this can be done, as Runkeeper and other applications do this (with additional data on speed, time, etc.) for tracking your runs. I don't really want any of that additional data as much as I would like to just capture the GPS route itself, and have it in some format that I can then use to make a map out of automatically. Not sure where to start with this, or if it can be done easily. Any information or guidance would be greatly appreciated. I have no experience in Java; very limited Javascript and OK in HTML/CSS. I've never used the Google Maps API either.
Thanks!
You may use API Picker lists to help you on the most common things you may want to do on a map or with location-based data, and this also suggests the API that most suits your needs.
Listed below are the useful APIs to plot a route on a map:
Polylines in the Google Maps Android API
Polylines in the Google Maps SDK for iOS
Polylines in the Google Maps JavaScript API
Directions mode in the Google Maps Embed API
Paths in the Google Static Maps API (a web service)
Links of useful APIs for whatever you want to do on a map can be found in the documentation.

Google Maps Plugin for Android - How to use the standard Maps app, but receive info about trip?

This app
https://play.google.com/store/apps/details?id=com.headupnav.demo
and many of them like it, add a small overlay into the standard google maps app. It then is able to get speed, direction and other information from google maps into its own custom app. I need to do something similar.
I don't want to reinvent the wheel and make a mapping application, my app just needs the navigation, speed information provided to me to run in the background.
Looking through the list of APIs, https://developers.google.com/maps/documentation/api-picker I do not see any the describe this plugin like model.
I am guessing the HUD is using the draw over other apps - but how does it get the real time data? (I can get speed from the GPS sensor - its the directions, turns etc that I am interested in)

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.

Using maps in offline mode

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

Requirements for Android Map Application

I want to develop an Android Application the gives the distinct map of my college. Can anyone tell me what it takes to develop such a service. Is OpenGL necessary for such an application? The basic idea is to have something like Google maps that shows where the user is and directions.
My college is situated in a hilly region so the google maps images are not very clear. Can I use Google Maps and perhaps modify it in some way so as to build a crisp clear application? Or is it better to start afresh?
OpenGL isn't necessary for a mapping application (although it can be used), in fact most mapping applications, Google maps included, use pre-rendered image "tiles". Each tile covers a set geographical area and includes all the information that the user may need.
A good application for generating tiles is TileMill. Tilemill needs mapping data to generate the tiles and a good source for this data is OpenSteetMap. Once you have created your custom tiles you can use the android location api to get the users location and display the relevant tiles with a marker.
Another option is to use something like Mapp although this costs money.

Categories

Resources