quru / qis

Dynamic image server for web and print
https://quruimageserver.com
GNU Affero General Public License v3.0
90 stars 7 forks source link

Images with GPS - the Google map is broken #16

Closed fozcode closed 5 years ago

fozcode commented 5 years ago

For images that have GPS fields in the EXIF data we display a Google map of its location when viewing the image in the admin area. This map is now degraded.

From https://cloud.google.com/maps-platform/user-guide/

In June 2016 we announced that we would stop supporting keyless usage, meaning any request that doesn’t include an API key or Client ID. This went into effect on June 11 2018, and keyless access is no longer supported. Keyless calls to the Maps JavaScript API and Street View API will return low-resolution maps watermarked with “for development purposes only.”

It is now mandatory to use a billing account and a Static Maps API key. This comes with $200 free monthly credits so it should still be free for most use cases, but we are going to have to get users of the image server to apply for and plug in their own API key. That or we change the map to run from a different service.

This one needs a quick review by @qururoland

fozcode commented 5 years ago

Just leaving this here: https://wiki.openstreetmap.org/wiki/Export#Embeddable_HTML