Hi @bahemian ,
Thanks a lot for reaching out to us.
Both method are required for the map to work both on the frontend and the backend.
The first one is used by the plugin enqueueing the google map jquery in the backend.
The second one provides the api-key parameters for loading the google map js on the front end.
I hope this helps.