On page two of the form (after users click “next”, I have a geopoint widget to get the users geo location. This worked as expected either by locating via the browser or by typing a place name in the search input.
Now the search input does not return any results anymore.
What still works is to just pan and zoom the map and click somewhere to set latitude and longitude, but it makes it very hard to use for the users.
What I tried:
I tested and confirmed the bug in both the English and German version of the kobo form
I tested and confirmed this bug in various browsers (iOS Safari, Chrome Mac, Android…)
I checked the admin interface but the form was not changed since July 11th
My guess is that it is a bug on the Kobo toolbox version which runs on https://kobo.humanitarianresponse.info/ (which I have no control over). Any idea how I can debug this better and/or get support from someone else?
I can post the XLSform if that helps. The row which is relevant is:
label::Deutsch (de) Markiere exakt den Eingang zum Ort auf der Karte. Falls es mehrere Eingänge gibt, markiere den Haupteingang.
*Mark the entrance of this place on the map (If there are multiple entrances, mark the main entrance). *
hint::Deutsch (de) Du kannst auch deine aktuelle Position bestimmen lassen
*Your current position can also be determined by your device *
thanks for your suggestions. Unfortunately that did not solve my problem. I am permitting location in my Chrome browser. As said, I tested it with multiple browsers without success and also got user feedback reporting the same issue with the geopoint form.
After further testing it tuns out, that the geocode queries for Google Maps (which are running the geopoint widget) are over quota for the domain humanitarianresponse.info on which my form is running on.
The kobo/enketo geopoint widget uses Google Maps under the hood for geocoding
The maximum amount of search queries for the domain humanitarianresponse.info has been reached. (“over quota”)
Therefore no more geocoding is possible for my form which runs on this domain
I will reach out to the info email of humanitarianresponse.info but also hope this might be helpful in this forum for other people who run into the same issue.
error_message: "You have exceeded your daily request quota for this API. If you did not set a custom daily request quota, verify your project has an active billing account: http://g.co/dev/maps-no-account",
results: [ ],
Thanks for your patience, everyone. We’ve raised the Google API quota and I’ve confirmed that @Holger’s form now geocodes properly.
@ff_mutaphysis, thanks for your minimal test case—it was helpful for confirming the fix! I’m going to redact our API key from your post (even though someone could easily get it from Enketo), just so it’s not hanging out there in too obvious of a way