I am working with google map in may application. Map Show two addresses or places and draw line between them. So i used direction api in google map. This Project also link with billing account. But some time its give error This api project is not authorized to use this api. some time its work
what is the problem? How can I solve this?
Related
I'm building google maps mobile application using google maps API v2 and I managed to draw a route between two locations. The problem is that I want to show all the possible routes to the direction location not just one. Can you help me, please?
I'm using Android Studio.
I am using Google Maps API v2 in my Android application, and I would like to know how could I get an elevation details of a specific route, e.g for a 10km route ahead. I'd like to update this graph on every location change.
I know I can get it like THIS. This however is not possible for me. I have the map area downloaded for an offline use. I just want the API to give me the elevation data from those, without connecting to the internet.
How i can show google map offline?
I have gone through various stackoverflow question and answer but not able to find solution.
I have implemented com.google.android.gms.maps.MapFragment and i am showing direction from one point to other. I have got coordinates from GMapV2Direction. Now i want to show this as offline.
Following are the links i got from stackoverflow but not useful.
Google Map Offline
TileProvider using local tiles
Plese help!!!
See this solution or this one. Basically you just create your own tileprovider and access tiles locally. Totally doable with the v2 api.
API Reference
There's some false information floating around out there that the v2 google maps api requires an internet connection. There was a but where the api would require a single access after app install to verify with Google Play services, but I believe this has been fixed. See this and this
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.
I'm trying to include in my app, using the Google Maps API and the Directions API, a way to show directions inside a mall from one store to another. If you use the stock Google Maps app in Android KitKat or a web browser, there's no problem on doing it.
However if you use the directions api with mode parameter set to "Walking" I get with the directions going out of the building instead of getting the route inside.
I've tried sending an intent to Google Maps app from my app and still the same. I've also tried copying the URL you get when calculating the route in maps.google.com, without fixing the problem.
Any help?
Thanks a lot.