https://bugs.kde.org/show_bug.cgi?id=473450

            Bug ID: 473450
           Summary: Create a field in Digikam Settings GUI: "User's Google
                    Maps API key"
    Classification: Applications
           Product: digikam
           Version: 8.2.0
          Platform: Other
                OS: Other
            Status: REPORTED
          Severity: minor
          Priority: NOR
         Component: Geolocation-GoogleMaps
          Assignee: digikam-bugs-n...@kde.org
          Reporter: josjonke...@gmail.com
  Target Milestone: ---

Currently, google maps in Digikam shows "for development purposes only" --
because the API key used is saved in the file: backend-googlemaps.html.
The Google Maps API key used in this file is:
AIzaSyAA7nJzEaQglnvMoOdzdmw2Y7p4ZZNHrq8

I know I can change this key to _my own_ Google API key. I did this. But I
think it is preferred / easier for users to just store the user's Google API
key in the Digikam settings, so that each user can easily set their own key to
use with google maps.

So; please make an extra field in the settings where the user can paste their
own key, and use this as a variable for the URL in the backend-googlemaps.html
file.
(https://maps.google.com/maps/api/js?key=AIzaSyAA7nJzEaQglnvMoOdzdmw2Y7p4ZZNHrq8)
If no API key is set, then use the default one (which gives the message on
google maps).

Maybe also add a link in the user interface to:
https://developers.google.com/maps/documentation/javascript/get-api-key -- this
explains how the user can get their own API key.

JJ

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to