'Generates the JavaScript necessary for displaying this Google Map.'

def render(self):

    params = {'calc_zoom': self.calc_zoom, 'center': self.center, 'dom_id': self.dom_id, 'js_module': self.js_module, 'kml_urls': self.kml_urls, 'zoom': self.zoom, 'polygons': self.polygons, 'polylines': self.polylines, 'icons': self.icons, 'markers': self.markers}
    params.update(self.extra_context)
    return render_to_string(self.template, params)
