Open garethbowen opened 4 years ago
Just wondering if there has been any new developments in this area?
@ChinHairSaintClair I don't think so. I'm really interested in using a free offline first mapping alternative like OSM instead of Google Maps as the API costs and online first approach are always going to be a barrier to use. Is this something you're interested in using?
@garethbowen. Your reasoning is sound, maps are really interesting. I believe we followed a similar approach years back when I worked on an offline-first mobile app in the agriculture field. As a result it seems I jumped the gun a bit, our stakeholders confirmed we'll be using an off-app map solution for our reporting. We won't be needing it at this time.
Describe the bug When trying to search for a location using the geopoint enketo widget it doesn't work and an error is shown in the console.
To Reproduce Steps to reproduce the behavior:
geopoint.xml
demo formExpected behavior The location is found and selected on the map. No error in the console.
Logs
Environment
Additional context The widget fetches the api key from the config.json in enketo-core but we need to be able to configure it per project. Contribute to Enketo as required to allow passing the config or using an unrestricted API (maybe openstreetmaps?). Alternatively we could contribute a change which hides the search box if no api key is given.