adopt-a-hydrant/app
Jason Jones 93fca60a59 Update marker display on zoom as well as pan
The app was using the 'dragend' event on the map to listen for
changes that should prompt the display of markers, but that event
only triggers when the map is panned. Changing to the 'idle' event
ensures that the display is updated on both zoom and pan instead
of requiring users to slightly pan the map after zooming to get
new data.

This has the side effect of making the initial markers display
immediately upon loading the page, rather than waiting for the user
to pan, as the idle event occurs when the map is initially loaded.
2012-12-11 12:39:52 -09:00
..
assets Update marker display on zoom as well as pan 2012-12-11 12:39:52 -09:00
controllers Prevent mass assignment with strong_parameters instead of attr_accessible 2012-11-15 09:34:19 -08:00
helpers Add address fields 2012-01-02 10:46:44 -08:00
mailers Remove support for Ruby 1.8 2012-06-18 15:08:19 -04:00
models Prevent mass assignment with strong_parameters instead of attr_accessible 2012-11-15 09:34:19 -08:00
views Slight copy change 2012-10-15 11:24:55 -04:00