Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7974077
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T08:16:16+00:00 2026-06-04T08:16:16+00:00

I have a web app where if a user clicks on a link it

  • 0

I have a web app where if a user clicks on a link it should open up a map. The best solution that I can think of is to open up a new tab/window to google maps using the target="_blank" attribute.

But I think that it would be best to open up the device’s map app instead of google map.

I know that you can have the user’s phone app to pop when the user clicks on a phone number with the href attribute pointing to tel:<the phone number>. I am wondering if this is also possible with the map app.

Is there a way to allow an anchor tag to open the mobile device’s map app when the user clicks it?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T08:16:18+00:00Added an answer on June 4, 2026 at 8:16 am

    You can use the GEO URI Scheme "geo:latitude,longitude" specified by RFC 5870 in a link such as

    <a href="geo:124.028582,-29.201930" target="_blank">Click here for map</a>
    

    There’s also the comgooglemaps:, which launches the Google Maps app for iOS, for example:

    comgooglemaps://?center=40.765819,-73.975866&zoom=14&views=traffic
    

    Where

    • center: This is the map viewport center point. Formatted as a comma separated string of latitude,longitude.
    • mapmode: Sets the kind of map shown. Can be set to: standard or streetview. If not specified, the current application settings will be used.
    • views: Turns specific views on/off. Can be set to: satellite, traffic, or transit. Multiple values can be set using a comma-separator. If the parameter is specified with no value, then it will clear all views.
    • zoom: Specifies the zoom level of the map.

    And as techtheatre said, you can use a regular Apple Maps link to trigger Apple Maps:

    //maps.apple.com/?q=Raleigh,NC
    

    Leaving off the protocol will automatically select the correct one to use, so if you wanted to have a dynamic link you could just create some conditional code that changes the link between google.com and apple.com depending on which system you’re on.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a web app that will draw a polyline for each user (tracks
Lets say you have a web app related Android app that requires the user
So I have a simple web app where I can create a user (UserModel)
I am creating a web app where if a user clicks on Link called
I have a Flash web app which displays user submitted PNG files. Files are
I have a web app which lets the user select the excel spreadsheet and
We have a web app running on Rails, using Devise and OmniAuth for user
I have a Silverlight web app which uses ASP.net Website administration tool for user
I have a user profile page on my web app which has contact information.
I have a asp.net/c# web app. When do user leave a certain page, I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.