Welcome to Working With Rails

 

Discussion Forums

Discuss all things Ruby on Rails with perhaps the web's most vibrant group of Ruby on Rails enthusiasts.
YM4R RJS Set Center GMap
2 Posts
YM4R RJS Set Center GMap

This could be a possible cause:

http://www.ruby-forum.com/topic/82034

I'm trying to set center map using following syntax in rjs file

page << @map.set_center([37.97918,23.716647],12)

It doesn't give any error but doesn't set center. Rjs works perfect for adding new markers but unable to set center.

2 Posts
Login to add your message