Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Google Map in mobile devices [duplicate]

In my app, I've used map like http://maps.google.com/maps?q=

The problem is that Android has a label “A” but iPhone has the address. when I tap the Pin label to “get Directions” in iPhone, the page does contain the actual street address, but Android doesn't.

As far as I know, iPhone has its own app in order to display map, but Android displays in the browser.

Is there any way to manage Android`s map?

like image 925
nAkhmedov Avatar asked Nov 12 '22 09:11

nAkhmedov


1 Answers

I think Android has a different way of hotlinking addresses:

Use the following code:

<html>
  <body>
  <H1>
   <a href="geo:42,2?z=8">Click here for maps</a>
 </h1>
   <BR><BR>
   <a href="geo:53,-9?saddr=(53,-9)&daddr=(42,4)">Click here for route maps</a>
 </body>
</html>

via https://stackoverflow.com/a/6299564/580173

like image 170
ejazz Avatar answered Nov 14 '22 23:11

ejazz