Launching Google Maps from an Android Browser

I have a website designed for android browser using jquery / jqtouch. As part of this, I have a map page that is loading. In the process of displaying my data, I found that some of my client addresses when I clicked on the Google app map with data sent to it. It also seems to load and launch a ton faster (and also has all the benefits of navigation, etc.).

So, I searched and searched, but could not "imitate", which was built into the function of ejecting addresses. I tried links with geo: and maps :, etc., but no one will open the installed application. However, just having an element <li></li>with an address, the browser will find the “correct” address and open the application.

I don't care if I need to start with javascript or href, it just needs to be embedded in html.

+5
source share
1 answer

I see (at http://m.google.com/maps?dc=gbackstop ) there is a link: if you have a Google Map application - "Run it now", and these are links to the following:

geo:28.61170,77.2747?z=15

I checked above in the address bar (goes to games in Delhi CWG) and it works in my HTC Desire browser.

From android documentation of intentions . Scale Level 1 shows the entire Earth, and the highest - 23:

geo:latitude,longitude
geo:latitude,longitude?z=zoom
geo:0,0?q=my+street+address
geo:0,0?q=business+near+city
+7
source

All Articles