javascript - Create a link for all mobile devices that opens google maps by default -


create link mobile devices opens google maps business location?

<a href="geo:37.6894694,-121.000303">google map</a> - link goes location , redirect mobile google app, no mark business address.

<a href="http://maps.apple.com/maps?q=business address">google map</a> - link goes location, not redirecting google app, instead mobile wants choose use.

i need link redirect google app , mark google business address.

<a href="geo:37.6894694,-121.000303?q=37.6894694,-121.000303(the name want show)">google map</a> 

use q parameter () showing marker name

it works android devices, i'm not sure works ios devices.

read more:

https://developers.google.com/maps/documentation/android-api/intents#overview

https://developer.android.com/guide/components/intents-common.html

enter image description here


Comments

Popular posts from this blog

java - Run spring boot application error: Cannot instantiate interface org.springframework.context.ApplicationListener -

python - pip wont install .WHL files -

Excel VBA "Microsoft Windows Common Controls 6.0 (SP6)" Location Changes -