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.
Related
Is using google maps for android SDK in China working?
I've been trying by VPN and it's not working.
Is there some SDK setting I'm missing?
Like the javascript api allows change the url to
http://maps.google.cn/
If not, can anyone give me some suggestion?
I've been trying the Skobbler OSM Maps, the speed of randomly loading when loading the world wide map area is so slow.
Does it works by using the webview (Google map javascript API) ?
Our app need to show the global countries map, including China area.
Many Thanks
you can change the google maps to GaoDe (amap).
First because Google maps need the googles services, which are not available on Chinese phones.
Then because if there is a way with JavaScript to get to the Chinese google map ( see the following link: developers.google.com/maps/faq?hl=en#china_ws_access ), for android with java it is still not reliable.
I am new to the Google Maps API for android, and recently encountered a problem with a project I'm making. I'm trying to make a network of polylines that represent walking paths on Google maps, but I was wondering, is it possible to get the typical google directions for navigating those polylines? For example, if you are in a park and there are several paths to get to the parking lot, would google maps be able to tell you the fastest path if the paths are represented by polylines?
I have watched tutorials on how to integrate google maps in an android application. Before I put google maps in my android application, I want to know if you need internet connection to run the application that runs google maps?
--------------------Answer to question above has been solved---------------------
I have another question. What are the things that an offline map can do? Can the offline map do pathfinding? Can you get coordinates, distances and other map data from it? Or is it just a map that can only be viewed?
If you have watched tutorials about that you might have noted that the maps api needs permission.INTERNET which is also obvious as the maps need to be loaded from Google. How else should they come to your device or simulator?
I have developed an app, in which Im using map option to display the user stores in google map using Google map API V2 for it.
I'm able to display the map with 2-3 market in it, every this is working fine.
I want to share that map with marker and all to pc as a url.So that i can open in browser.
How can i do it?
Is it possible to do it or not ?
I don't think they offer functions to do it. But you can build your own, which looks something like this:
http://maps.google.com/maps?q=[ADDRESS]&z=[ZOOMLEVEL]
you can always refer to the Google Maps Embed API for more information.
*note that, sadly, there are no way for adding multiple markers into the maps.google.com.
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.