An example web 2.0 style mashup of
|
|
![]() |
class AjaxGeonamesController < ApplicationController
def get_wikipedia_in_bounds
n = params[:n]
e = params[:e]
s = params[:s]
w = params[:w]
@results = CallCache.call( 'Geonames::WebService.findBoundingBoxWikipedia',
:pars => [ :north => n, :east => e, :south => s, :west => w ] )
render :layout => false
end
end