codeforcroatia / popravi.to

This is popular map-based reporting platform FixMyStreet for Croatia named "Popravi.to"
http://popravi.to
Other
9 stars 7 forks source link

popravito: Enable Auto locate (auto geolocation) #122

Closed schlos closed 2 years ago

schlos commented 3 years ago

Is your feature request related to a problem? Please describe.

Describe the solution you'd like

Geolocation (auto locate me) on homepage works only for HTTPS pages (needs #121).

Describe alternatives you've considered

Additional context

Depends on #121 If HTTPS is not enabled, auto geolocation functionality will not be displayed, more on https://groups.google.com/a/mysociety.org/g/fixmystreet/c/wa2EnkDmZUM/m/DfntpAwiCQAJ

schlos commented 2 years ago

Task #121 is done, so now find my location should work. Also it's been added to the 'popravito' cobrand: https://github.com/codeforcroatia/popravi.to/blob/develop/templates/web/popravito/around/postcode_form.html#L38

Still to be tested on the production site.

schlos commented 2 years ago

Tested, displays fine. It should work on HTTPS production site.