]> git.openstreetmap.org Git - rails.git/commit
Select which key entries to show on the client
authorTom Hughes <tom@compton.nu>
Fri, 31 Aug 2012 09:29:32 +0000 (10:29 +0100)
committerTom Hughes <tom@compton.nu>
Fri, 31 Aug 2012 09:29:32 +0000 (10:29 +0100)
commit815c98c977831a9a7f84dca49186f5eea7b4a283
treefd5bb61c30ff2e6517253379f600758942d3b658
parent51f5984c1c7a54feace02f67d48b15a4516d6f64
Select which key entries to show on the client

Rather than requesting a new key every time the zoom or layer
changes, serve up all the entries initially with appropriate
annotations to allow the client to decide which ones to show.
app/assets/javascripts/key.js
app/views/site/key.html.erb
config/routes.rb
test/functional/site_controller_test.rb