def GET(self): web.header('Content-Type', "text/javascript; charset=utf-8") input = web.input("sw", "ne", "zoom"); bounds = handler.validBounds(input.sw, input.ne) zoom = handler.validN(input.zoom) model = mapper.getClusterModel(handler.filteredAnalyses(web), zoom, bounds) MapFormatter.enhanceClusterModel(model) dumpJson(model)