Geolocation using Google Maps API and a WebView

I’m using a webview with the google map api because I need to be able to capture the event when a pin is clicked on. This works fine, however I also need geolocate; the problem is that I’m dynamically creating the HTML file because the pins might change if the database with the locations as been altered, so as a result the map.html file is being loaded from a local file. Unfortunately files loaded locally don’t work with geolocation.

So does anybody have any ideas for a work around on that? So far the only thing I can think is to create a mapview and hide it off screen and use that to locate the user and pass the lat/lng values to the webview map.

Thanks! [import]uid: 110859 topic_id: 29600 reply_id: 329600[/import]

Very interesting theme. May be I out of news about corona updates; is there any possibilities?

I want to include in my app “city leader”, “region leader”, "main boss etc.

Very interesting theme. May be I out of news about corona updates; is there any possibilities?

I want to include in my app “city leader”, “region leader”, "main boss etc.