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

Polygon clickable should be option #187

Closed AhmerArif closed 12 years ago

AhmerArif commented 12 years ago

Currently the Polygon clickable setting is hard-coded (https://github.com/apneadiving/Google-Maps-for-Rails/blob/master/app/assets/javascripts/gmaps4rails/gmaps4rails.base.js.coffee#L219). It'd be great if we could set it via an option.

See also: http://stackoverflow.com/questions/10170883/polygon-infowindows-in-gmaps4rails

apneadiving commented 12 years ago

Job's done, will release soon