Closed holden closed 12 years ago
got it to work, but i'm sure there's got to be a better way to do it than this:
@js << "#{gmap_id}.initialize();"
@js << "#{gmap_id}.createStamenMap();" #new
https://github.com/holden/Google-Maps-for-Rails/blob/master/lib/gmaps4rails/js_builder.rb
I think I should add some callback after map initialization
That would be perfect! Thanks.
Found something like this... maybe there's a better way?
http://stackoverflow.com/questions/11356128/gmaps4rails-integration-with-stamen-maps
http://maps.stamen.com/#toner/2/21.0/-259.1