You need to sign in to do that
Don't have an account?
CurrentGeo Location in google map via APIs in vfp page
Hi All,
I am trying to create a Route map in Visualforce page. I am embedding vfp inside a lightning component as an iframe because of security reasons.
I am tryign to fetch current location using google map APIs, but unable to get them because these will not work in an iframe. Here is a link (https://sites.google.com/a/chromium.org/dev/Home/chromium-security/deprecating-permissions-in-cross-origin-iframes) supporting my argument.
Since, I have vfp inside lightning component I am thinking to pass current location from cmp. I am not sure if this is a good idea.
If there is anyway to bypass this or change my approach please let me know.
Any help is appreciated,
Pramod V
I am trying to create a Route map in Visualforce page. I am embedding vfp inside a lightning component as an iframe because of security reasons.
I am tryign to fetch current location using google map APIs, but unable to get them because these will not work in an iframe. Here is a link (https://sites.google.com/a/chromium.org/dev/Home/chromium-security/deprecating-permissions-in-cross-origin-iframes) supporting my argument.
Since, I have vfp inside lightning component I am thinking to pass current location from cmp. I am not sure if this is a good idea.
If there is anyway to bypass this or change my approach please let me know.
Any help is appreciated,
Pramod V
~VIP