Android Google maps co-ordinates - android

I have an app which stores co-ordinates. I am using Google maps to show the location to allow full use of the maps app. I am using the intent call and placing the co-ordinates in the q=xxxxxxxxx,xxxxxxxxx part.
This works, however when Google maps shows the location it often finds a point on the road, sometimes a little distance from the actual co-ordinates.
Is there a way to get maps to show the actual point?

http://maps.google.com/maps?q=(#24.397611,120.780512)
from
http://mapki.com/wiki/Google_Map_Parameters

Related

Google Maps Android api Indoor Routing

I have a problem: I need to calculate the routing within a mall that has a plan registered in google maps, but with the direction API can not get the indoor routing. To be precise if I am away from the mall and I want to calculate the route to an internal area, I am guided to the outside of the mall, while I would like my app would calculate a route for the section inside the building . To do this I currently use the Google Maps Android API v2 and the Direction api with json output. Does anyone have any suggestions for me? sorry for my bad English
I have exactly the same problem; compting a route (with mode=walking) between two points that are both inside a mall gives a path that starts, goes and ends out of the building.
The closest similar path found on Google Maps (HTML version, from a browser) is the "bike" one...

Android GPS navigation between 2 points

Can anyone point me in the direction of a tutorial on how to use GPS (Google maps) to navigate between 2 points in an Android app. I have searched for the last few hours and can only find
tutorials on pinpointing current location.
What I need to do is show current position on map, and then navigation to a set destination on map. So e.g. you are at point A - navigate to point Z
EDIT: Sorry but I should have clarified. What I want to do is just have a button in the app that the user clicks. Once clicked, Google Maps app open and from here Google can do the rest. I don't need the map to be displayed in my app at all.
There is no easy way to do it, you will need to get the direction from a location API such as Google Directions API or Cloudmade to give you all the way points between your 2 points.
you then however have to plot the path and then handle the voice controls yourself
you can however use and Intent to launch the google navigation app in the google maps app and just have google maps do everything but that does not sound like what you want
You can use a VIEW intent using standard google maps parameters. If Google Maps is installed on the device, the user will be able to choose to open it using that or the default browser, etc.
Unfortunately, there's no way to do this directly with a geo: intent at this time. In any of my mapping applications, I've given up bothering with geo: because it's just not mature or standardized enough.
For a great list of url parameters to use(including "directions" mode), check out Everything You Never Wanted to Know About Google Maps' Parameters. I keep it bookmarked.

Implementing search in GoogleMaps Android API, with zoom

I am trying to implement searching GoogleMaps in Android app, and found solution in:
geoCoder.getFromLocationName("New York", 5);
which returns a List<Address>.
The problem I have is that Address object contains information about longitude and latitude, which is great, but not zoom level info one gets when searching Google Maps. For example: if the search is for a country, Google maps sets zoom level to show the whole country, unlike searching for an address with street number which will display much higher zoom level. JS has it. How about Android?
How can I get zoom information when searching GoogleMap API (v1) in Android? Tnx!
Use Google Maps geocode API.
Example request: http://maps.google.com/maps/api/geocode/json?address=New%20York&sensor=false

Android Google maps API

I`m creating app with GPS map. Before I start understanding how to use the API in my app I have some questions.
Can I overlay an image on the map, without that the user knowing I use Google maps API?
Can I cut and use only specific area of the map and limit user to that map, lets say show only some amusement park and show the user location, and user cant go outside my map?
I need to show on an image the location of user, without navigation, should I use Google maps API or different approach?
From the looks of it you want the Google Static Maps API.
https://developers.google.com/maps/documentation/staticmaps/
This will generate an image of a map when you give it the latitude, longitude etc. You can then use this in an ImageView.
The advantage is that you don't have to create an expensive MapView, but it will not be interactive

How to get landmark using GPS coordinate?

I want to show the user nearest landmarks on the android phone. I can read the GPS coordinates, but don't know how to get landmarks using the GPS coordinates. Is there any easily manageable way? Could someone please put some light on this?
Are you doing this through Google Maps? Is there something in the Google Maps API that lets you get landmarks?
Edit:
Google Maps Places: http://code.google.com/apis/maps/documentation/places/

Categories

Resources