def featured_map_info(request, site):
 map_obj = resolve_object(request, Map, {'featuredurl': site}, permission='base.view_resourcebase', permission_msg=_PERMISSION_MSG_VIEW)
 return map_detail(request, str(map_obj.id))

def featured_map_info ( request , site ) : map_obj = resolve_object ( request , Map , { 'featuredurl' : site } , permission = 'base.view_resourcebase' , permission_msg = _PERMISSION_MSG_VIEW ) return map_detail ( request , str ( map_obj . id ) )
main view for map resources .