Closed syllogismus closed 12 years ago
hi, just installed your gem (thx) on a new rails3 app. markers are shown. then i tried this:
@json = User.all.to_gmaps4rails do |user, marker| marker.json({ :id => "FOO" , :foo => "BAR" }) end
but only the markers are shown, no additional infowindow when i click on them. what could be wrong? thx
You're not supposed to use marker.json to have an infowindow.
marker.json
use marker.infowindow
marker.infowindow
hi, just installed your gem (thx) on a new rails3 app. markers are shown. then i tried this:
@json = User.all.to_gmaps4rails do |user, marker| marker.json({ :id => "FOO" , :foo => "BAR" }) end
but only the markers are shown, no additional infowindow when i click on them. what could be wrong? thx