JohnC Expert Licensed User Longtime User Sep 28, 2017 #1 I created an app that simply navigates a webview control to the below address: https://fact.alpinesystemsinc.com On that page is a "location" button that will center the displayed map on your location. If you manually navigate to the above URL using chrome and click the "Location" button, chrome will prompt you "Do you wish to allow alpinesystemsinc.com to know your location?", and when I can click "yes" and the map properly centers on my location. But when my B4A app displays that page in a webview, if you click the "location" button, nothing happens. How can I get the location feature to properly work in the webview? Last edited: Sep 28, 2017
I created an app that simply navigates a webview control to the below address: https://fact.alpinesystemsinc.com On that page is a "location" button that will center the displayed map on your location. If you manually navigate to the above URL using chrome and click the "Location" button, chrome will prompt you "Do you wish to allow alpinesystemsinc.com to know your location?", and when I can click "yes" and the map properly centers on my location. But when my B4A app displays that page in a webview, if you click the "location" button, nothing happens. How can I get the location feature to properly work in the webview?
eps Expert Licensed User Longtime User Sep 28, 2017 #2 How are you creating the web view and interacting with it? Are you using webviewextras or similar? Upvote 0
eps Expert Licensed User Longtime User Sep 28, 2017 #3 Does this help ? https://www.b4x.com/android/forum/threads/webview-cant-get-gps-location-on-google-map.78945/ Upvote 0
Does this help ? https://www.b4x.com/android/forum/threads/webview-cant-get-gps-location-on-google-map.78945/
JohnC Expert Licensed User Longtime User Oct 4, 2017 #4 That is probably the fix - I'll give it a shot. Thanks. Upvote 0