apneadiving / Google-Maps-for-Rails

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

gmaps configuration #265

Closed kristianmandrup closed 10 years ago

kristianmandrup commented 12 years ago

Would be nice if you could enable loading the config from a YAML file automatically.

Example:

config/gmap4rails.yaml

provider:
  name: dfddsgsgsd 
  key: ssss

and so on... also it should warn if no key provided. Looks like google maps v3 also requires a key now?

apneadiving commented 12 years ago

why not, default conf would live there, and they could be overriden by options passed in hash