apneadiving / Google-Maps-for-Rails

Enables easy Google map + overlays creation in Ruby apps
https://apneadiving.github.io/
MIT License
2.27k stars 382 forks source link

Changes the google maps api script url #516

Closed AndresAbed closed 8 years ago

AndresAbed commented 8 years ago

The current url gives some warnings because it has options with empty values.

screenshot from 2016-06-01 14 06 30

Changing it to something like this:

//maps.google.com/maps/api/js?v=3.23&key=AIzaSyCsB7TF5KvEf9lLZyDlhdwmXI7ohZgM9Qk"

Clears the warnings.

It's a little change but, fixes annoying messages.

apneadiving commented 8 years ago

Thank you!