Turn by Turn GPS Navigation on Android Using Android Studio - google-maps

I want to use the Tun by Turn voice navigation feature that on google maps app in my android app, I've searched a lot but couldn't find answer, I've used google maps direction API for creating the path from the current location to the user's destination, it's part of the idea of the application to help the user navigate,
What API should I use ? or is it even possible to do it?

Google Maps API v3 does not provide the voice feature at all. And Google Maps API v3 and Google Maps applications are completely different ones. So if you want to implement the voice navigation, you need to prepare it.
Best to read the terms of service. 10.4 (c) ⅲ might be relevant:
ⅲ. No navigation. You will not use the Service or Content for or in connection with (a) real-time navigation or route guidance; or (b) automatic or autonomous vehicle control.
Fortunately, org.apache.cordova.plugin.tts plugin provides that function for Android.
document.addEventListener("deviceready", function() {
tts.speak("Hello");
});
Please refer to the link:
https://github.com/domaemon/org.apache.cordova.plugin.tts
Hope it helps.

Related

Does Google Map API V3 provide solution to tracking moving assets without using mobile app?

there,
Does Google Map API V3 include solution that allows to track moving assets without us having to develop additional mobile apps (apps to be installed on each asset to be tracked)?
My company is a Google Maps APIs Premium plan business user and we have several .Net C# web pages already using Google Map API. And we are looking for the possibility to add a moving-assets-tracking feature on our website now, but we prefer not to get into mobile app developments for this.
If that possible? I googled, but not seeing much info on this. Could you please provide some detailed examples?
Thanks!
Asset tracking is possible with Google Maps Platform, but I don't think this is possible without installing an application to the asset being tracked as there
could be no means to track it.
By V3, if you are referring to JavaScript API then it is not possible.
You may read about asset tracking in this documentation:
https://cloud.google.com/maps-platform/asset-tracking/
Contacting sales team for Google Maps might be able to provide you something. But this is still unsure. The contact sales form can be found in the link above.

How do I open a tab of google maps in unity without buying an Asset?

I'm having trouble figuring out how do I open a tab of google maps or google maps app on my app within the unity, and can't afford to buy the Asset for facilitating, what do I do? is there any other site or application that I can use and be easier?
You would have to use AndroidJavaClass and AndroidJavaObject API to construct common map intents: https://developer.android.com/guide/components/intents-common.html#Maps
There are plenty examples out there how to use AndroidJavaClass and AndroidJavaObject e.g. how to create a share intent. These are very similar for maps.

Using Google Maps Engine in a custom iOS App

I am trying to leverage Google Maps Engine as a data store for an iOS app that uses the Google Maps SDK. Has anyone ever done that before? I'm having trouble finding examples or reference material on the internet. I can get data layers to show up in a web page using HTML and JavaScript, and I can see data layers in the native Google Earth App, but I want to show this data in my own custom map app.
Here is a link to Google Maps Engine for reference: http://www.google.com/enterprise/mapsearth/products/mapsengine.html
I believe you will need to get in touch with Google to receive a Maps API. I don't think they just let anyone on the street have it.
http://support.google.com/enterprisehelp/bin/request.py?contact_type=maps_engine&hl=en

Google Maps iOS SDK - Search for places

I'm new to both iOS programming & the Google Maps iOS SDK, so apologies if this is a basic question.
I want to include a Google map, in an app and give users the ability to search for various places (restaurants, bars, gyms, etc) within a certain radius of a marker.
I know this is possible using the javascript api, but can it be done using the maps iOS SDK? I have read all of the information here and have searched Stack Overflow & Google but I can't really find anything that gives me any pointers.
Within the documentation, Google say that using a URL Scheme you can launch a native iOS app and pass in parameters for searches, directions etc. Is this what I need to be using, or is that more tailored to a webapp?
Any help, advice, or pointers to tutorials (other than the ones provided by Google) would be massively appreciated.
Cheers
The Google Maps URL Scheme can currently only be used to open the Google Maps app to search for a location or for directions. It can't search for places. Also, if your own app did this, then it would shut down your app and switch to the maps app, which may not be what you want. It will also only work if the user has installed the Google Maps app.
You would probably want to use the Google Places API to make http requests from your native app. You can request a response in either JSON or XML format. Then you'll need to parse the response, and use it to add markers to a GMSMapView using the Google Maps SDK for iOS.
This blog post describes this library which the blog post's author wrote to wrap the Google Places API. You wouldn't need most of this code, but it might give you an idea of where to start. This class is the main one which handles the requests to the places API.
Note that this library uses a third-party JSON parser - SBJsonParser. As of version 5.0 iOS includes a native JSON parser, NSJSONSerialization. So if your app's minimum supported iOS version is 5.0 or higher, you don't need to use a third-party library.

Google maps on a self hosted website

I've a small self-hosted website hosted on my home server via no-ip.com, wonder if it's legit/possible to use Google maps on it and what would be the viable options if not?
What do you mean with "to use Google maps on it"?
If you just want to allow your users to see a map and navigate on it, it is possible. Google has published a SDK (Google Maps API) that allows other people to interrogate Google servers, collect data (maps), show maps to users and perform a few operations related to positioning and navigation. There is a web (javascript) toolkit for this here:
https://developers.google.com/maps/documentation/javascript/
Other info here:
https://developers.google.com/maps/
https://developers.google.com/maps/documentation/
If you want to host a clone of the Google Mpas service on your PC, then no, this is not possible (both for legal and technical reasons).
A well-known, largely appreciated alternative to Google Maps is openstreetmap:
http://openstreetmap.org/