Hello, Is it possible to use Google Maps api, from within the AR World? I am developing using PhoneGap and testing on iOS. I would like to be able to display a thumnail of the Google Map in the corner of the AR camera view (as an overlaid <div>) - similar to the way a street view thumbnail is displayed on google maps. My js works fine when I am at the top level "www" index.html, but when I move this to the "world" index.html, it doesn't show.
Any thoughts?
Cheers, Matt
M
Martin Lechner
said
over 8 years ago
Hi Matt,
There is no reason why it wouldn't work in any subfolders. Did you verify that all relative paths are set accordingly?
In general, everything that works inside a mobile web view will also work in the AR View, we are not aware of (and did not come across) any restrictions.
Best,
Martin
M
Matt Templeton
said
over 8 years ago
Hello,
Thanks for the info. I did get this working.
It seems that if the scripts for google maps is in the header, it will work, but if it is in the body, it won't. In my previous htmls that use google maps I was loading the scripts in the body.
Matt Templeton