Hello Thomas,
Hello Hopki,
my apologies but I haven't managed to follow your kind advice.
The key question is how to set the __file_url__ macro correctly.
Below is what I've tried.
All file/path names given are symbolic.
1.
Project
Example-Test.p2vr on macOS, connected to Google Map APIs
Saved on local drive.
API: Maps JavaScript with application restriction HTTP referrer
*localhost:12345/abcdefg/*
### Works including GoogleMaps access
2.
Saved
Example-Test.p2vr as package,
Example-Test.ggpkg, on local drive
Uploaded to iCloud Drive
### Opens in Package Viewer, without GoogleMaps connection
3.
URL of Example-Test.p2vr as indicated on iCloud Drive (Web):
https://www.icloud.com/iclouddrive/uvwx ... ple%5FTest
4.
Google Cloud Platform, Project selected, Credentials, Restrictions for API "Maps JavaScript API"
Application restrictions (type) : HTTP referrers (websites)
Website restrictions (for Pano2VR, macOS):
*localhost:12345/abcdefg/*
Website restrictions (for Package Viewer, ipadOS):
*www.icloud.com/iclouddrive/uvwxyz987654#Example%5FTest*
Saved in Google Cloud Platform.
See screenshot below, please.
Re-started Package Viewer on ipadOS
### Opens in Package Viewer, but still without GoogleMaps connection
### Error Message "page didn't load GoogleMaps correctly. See the JavaScript console ..."
Question:
Which is the correct way of entering file and url correctly ?
With the data above in your example __file_url__* ?
Thank you so much for your help & best regards,
Rainer