Skip to main content
Rajendra Rathore (NA) 님이 * Customer Success *에 글을 올렸습니다

Hi All,

 

I have requirement :

  • Add a "Directions" button on the restaurant mobile page,"Directions" button should pass the restaurant's location to the device's selected mapping app.Once this button is tapped, the user should be prompted to select their mapping app

So Using VF page(Salesforce1) how can i open Mapping app  like Waze, Google Maps, and Apple Maps (iOS only) etc ?

 

Thanks,

Raj

댓글 2개
  1. 2017년 2월 17일 오전 5:53

    I got it answer my self.

    Android :

    <a href="geo:0,0?daddr=delhi">Apple/Google Map</a>

    IOS :

    <a href="

    http://maps.apple.com/?daddr=mumbai

    ">Apple/Google Map</a>

    <a href="waze://?q=delhi&navigate=yes" >Waze map</a>

0/9000