OH2.4 sitemap webview of gelocation marker on Google maps: alternatives?

I am running OH2.4 on a rPi3, mosquitto and owntracks.
All was working fine until two days ago, when the webview of a marker in google maps no longer shows, that is it sows up briefly (1 second) and then creates an error.
image

The console shows something like:

M14 FingerPrint.js:6 false
geolocMap.html:26 Object
2VM74 js:59 You must enable Billing on the Google Cloud Project at https://console.cloud.google.com/project/_/billing/enable Learn more at https://developers.google.com/maps/gmp-get-started
_.wd @ VM74 js:59
VM77 util.js:226 Google Maps JavaScript API warning: SensorNotRequired https://developers.google.com/maps/documentation/javascript/error-messages#sensor-not-required
Ty.i @ VM77 util.js:226

Have others experienced this as well?
How can this be fixed?
Is there an alternative solution for displaying a geolocation marker in OH?

[edit] OK figured out the sensor thing: https://developers.google.com/maps/documentation/javascript/error-messages#sensor-not-required
removed it, does not change the outcome.

[edit 2] OK, figured out the billing thing.
Had to upgrade my account, now the map works again.
However, I seem to have used

|Sep 1 – 30, 2019|Maps API Dynamic Maps: 21695 Counts [Currency conversion: USD to AUD using rate 1.483] (Source:API Project [api-project-xxx])|A$225.17|
|Sep 1 – 30, 2019|Credit Maps Free Tier (Source:API Project [api-project-xxx)|−A$225.17

and as far as I know 28,000 lookups per month are free. So I am close.

The question is now: what alternatives are there that others use?

The default Mapview element on the sitemap uses Open Street Map. https://www.openhab.org/docs/configuration/sitemaps.html#element-type-mapview

I believe that it doesn’t cost to use it, as long as you don’t bombard it with requests.

2 Likes

Thanks! :slight_smile:I got around trailing this eventually, and it works fine.